Skip to content

Commit

Permalink
test: ci scp
Browse files Browse the repository at this point in the history
  • Loading branch information
spooky-finn committed Aug 19, 2023
1 parent 2e6c327 commit ef72572
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ jobs:
- name: Checkout to the repository
uses: actions/checkout@v3

- name: Deploy to sandbox via rsync
uses: trendyminds/github-actions-rsync@master
- name: send files to the remote server using scp
uses: appleboy/scp-action@master
with:
RSYNC_OPTIONS: -avzr --delete --exclude node_modules --exclude '.git*'
RSYNC_TARGET: /ttt
RSYNC_SOURCE: /client/
env:
SSH_PRIVATE_KEY: ${{secrets.SSH_HEXCORE_KEY}}
SSH_USERNAME: ${{secrets.SSH_USER}}
SSH_HOSTNAME: ${{secrets.SSH_HOST}}
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_HEXCORE_KEY }}
port: 22
source: ./
target: ~/temp/
# - name: Install ssh key
# uses: shimataro/ssh-key-action@v2
# with:
Expand Down

0 comments on commit ef72572

Please sign in to comment.