Skip to content

Commit

Permalink
fix ssh command in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RbAvci committed Jun 20, 2024
1 parent 8ab620a commit 92740f6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,4 @@ jobs:
- name: Connect to EC2 and deploy
run: |
ssh -i ~/.ssh/id_rsa ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} "\
cd Full-Stack-Project-Assessment && \
git checkout main && \
git pull && \
npm run build &&"
ssh -i ~/.ssh/id_rsa ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} "cd Full-Stack-Project-Assessment && git checkout main && git pull && npm run build"

0 comments on commit 92740f6

Please sign in to comment.