Skip to content

Commit

Permalink
Updating the deploy.yml file(github actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
debsouryadatta committed Dec 10, 2024
1 parent 76844a1 commit 4930601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
echo "Deploying to EC2"
echo "${{ secrets.SSH_PRIVATE_KEY }}" > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -i private_key ${{ secrets.USER_NAME }}@${{ secrets.SSH_HOST }} '
cd /home/ubuntu/CourseX &&
cd /home/ubuntu/AiVerse &&
git reset --hard &&
git checkout main &&
git pull origin main &&
Expand Down

0 comments on commit 4930601

Please sign in to comment.