Skip to content

Commit 365e2c1

Browse files
committed
Add installation step for Git in deployment workflow
1 parent a5af99d commit 365e2c1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
echo "Listing home directory:"
2323
ls -la ~
2424
25+
echo "Installing Git..."
26+
if ! command -v git &> /dev/null; then
27+
sudo yum install -y git
28+
fi
29+
2530
echo "Installing Node.js..."
2631
if ! command -v nvm &> /dev/null; then
2732
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash

0 commit comments

Comments
 (0)