Skip to content

Commit

Permalink
ci: fix rsync folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Obnoxieux committed Oct 5, 2023
1 parent 77cc2c1 commit 50b9e6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
ssh-keyscan -p ${{ secrets.SSH_PORT }} -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
- name: copy build files over
run: |
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" ./build/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/build/
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" ./node_modules/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/node_modules/
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" ./package.json ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/package.json
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" ./package-lock.json ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/package-lock.json
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" build/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/build/
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" node_modules/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/node_modules/
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" package.json ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/package.json
rsync -avz -e "ssh -p ${{ secrets.SSH_PORT }}" package-lock.json ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/package-lock.json

0 comments on commit 50b9e6c

Please sign in to comment.