Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammedal-abdulhamid authored Feb 3, 2024
1 parent ffea34a commit 9885c27
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,10 @@ jobs:
- name: Deploy to server
uses: easingthemes/ssh-deploy@v4
with:
sshPrivateKey: ${{ secrets.SECRETS_SSH_PRIVATE_KEY }}
server: ${{ secrets.EC2_HOST }}

remote_port: ${{ secrets.EC2_PORT }}
username: ${{ secrets.EC2_USERNAME }}

localPath: /home/***/cyf-hotel-react/build
serverPath: /home/***/cyf-hotel-react/src/backend
TARGET: /home/REMOTE_USER/
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.EC2_HOST }}
REMOTE_USER: ${{ secrets.EC2_USERNAME }}
SOURCE: /path/to/local/files
TARGET: /path/on/remote/server
ARGS: -rlgoDzvc -i
SSH_CMD_ARGS: -o StrictHostKeyChecking=no

0 comments on commit 9885c27

Please sign in to comment.