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 6, 2024
1 parent 2e99ba6 commit 617bdf5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/backend-ec2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
REMOTE_PORT: 22
REMOTE_SCRIPT: 'rm -rf /home/ubuntu'

- name: Deploy to EC2
uses: easingthemes/ssh-deploy@main
with:
local-path: server
env:
SSH_PRIVATE_KEY: ${{ secrets.EC2_SSH_KEY }}
REMOTE_HOST: ${{ secrets.HOST_DNS }}
REMOTE_USER: ${{ secrets.USERNAME }}
# - name: Deploy to EC2
# uses: easingthemes/ssh-deploy@main
# with:
# local-path: server
# env:
# SSH_PRIVATE_KEY: ${{ secrets.EC2_SSH_KEY }}
# REMOTE_HOST: ${{ secrets.HOST_DNS }}
# REMOTE_USER: ${{ secrets.USERNAME }}



0 comments on commit 617bdf5

Please sign in to comment.