Skip to content

Commit

Permalink
change region for ec2 08
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaDudnyk committed Mar 2, 2024
1 parent 0a414b6 commit 34e4f6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backEnd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ jobs:
- name: Install dependencies and build
run: |
echo ${{secrets.AWS_PEM}} > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -i private_key "${{secrets.AWS_HOST_NAME}}@${{secrets.AWS_HOST}}"
ssh -o StrictHostKeyChecking=no -i private_key ${{secrets.AWS_HOST_NAME}}@${{secrets.AWS_HOST}} '
cd Full-Stack-Project-Assessment
git pull
cd server
npm install
pm2 restart server.js
'

0 comments on commit 34e4f6b

Please sign in to comment.