mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-06 03:58:05 +08:00
chore: update deploy.yml
This commit is contained in:
parent
8fe4437c9d
commit
d5d7050263
17
.github/workflows/deploy.yml
vendored
17
.github/workflows/deploy.yml
vendored
@ -19,12 +19,11 @@ jobs:
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Deploy to Server
|
||||
uses: easingthemes/ssh-deploy@main
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
|
||||
ARGS: "-rltgoDzvO --delete"
|
||||
SOURCE: "dist/"
|
||||
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
|
||||
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
||||
TARGET: ${{ secrets.REMOTE_TARGET }}
|
||||
EXCLUDE: "/dist/, /node_modules/"
|
||||
uses: burnett01/rsync-deployments@4.1
|
||||
with:
|
||||
switches: -avzr --delete
|
||||
path: "dist/"
|
||||
remote_path: ${{ secrets.REMOTE_TARGET }}
|
||||
remote_host: ${{ secrets.REMOTE_HOST }}
|
||||
remote_user: ${{ secrets.REMOTE_USER }}
|
||||
remote_key: ${{ secrets.SERVER_SSH_KEY }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user