Skip to content

Commit

Permalink
Update backend-ec2-deploy.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Haroun Alarabi <[email protected]>
  • Loading branch information
HarounAlarabi authored Feb 7, 2024
1 parent 6eebe36 commit 40ec1c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/backend-ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
- name: Deploy to EC2
with:
run: |
cd server
rsync -avz -e "ssh -i $HOME/.ssh/your_pem_key.pem" \
--exclude='.git*' \
--exclude='node_modules' \
/home/runner/work/Full-Stack-Project-Assessment/server \
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.EC2_SSH_KEY }}
Expand Down

0 comments on commit 40ec1c9

Please sign in to comment.