Skip to content

Commit

Permalink
Switch back to ssh-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
david-yz-liu committed Apr 16, 2024
1 parent ba7b4ee commit 061ed2b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ jobs:
mkdir docs/build/demo
cp -r demo/dist/* docs/build/demo
- name: Deploy to Server
uses: burnett01/[email protected]
uses: easingthemes/ssh-deploy@main
with:
switches: -avzr --delete
path: docs/build/demo/
remote_path: ${{ secrets.REMOTE_TARGET }}
remote_host: ${{ secrets.REMOTE_HOST }}
remote_user: ${{ secrets.REMOTE_USER }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "docs/build/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}
EXCLUDE: "/dist/, /node_modules/"

0 comments on commit 061ed2b

Please sign in to comment.