Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
rasulov1337 committed Dec 20, 2024
1 parent 43d96ec commit 572e4e7
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/nodejs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,13 @@ jobs:
- name: Install SSH Client
run: sudo apt-get update && sudo apt-get install -y openssh-client

- name: chmod
uses: appleboy/ssh-action@master
- name: Add SSH key to the agent
uses: webfactory/ssh-[email protected]
with:
host: 37.139.41.110
username: ubuntu
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: ssh [email protected] "mkdir -p /home/ubuntu/frontend/"
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

# - name: Create remote directory (if it doesn't exist)
# run: ssh [email protected] "mkdir -p /home/ubuntu/frontend/"
- name: Create remote directory (if it doesn't exist)
run: ssh [email protected] "mkdir -p /home/ubuntu/frontend/"

- name: Copy build artifacts via SSH
run: rsync -avzP ./dist/ [email protected]:/home/ubuntu/frontend/

0 comments on commit 572e4e7

Please sign in to comment.