Skip to content

Commit

Permalink
add npm install to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RbAvci committed Jun 20, 2024
1 parent 92740f6 commit ce5748e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +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 install && npm run build"

0 comments on commit ce5748e

Please sign in to comment.