Skip to content

Commit

Permalink
fix: fix file compression deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
boxsnake committed Dec 16, 2023
1 parent 8fd4ea0 commit adb577e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ jobs:

# 部署
- name: Deploy
uses: easingthemes/ssh-deploy@v2.2.11
uses: easingthemes/ssh-deploy@v5
env:
SSH_PRIVATE_KEY: ${{ secrets.ACCESS_TOKEN }}
# 删除服务器上目录里所有文件
# ARGS: '-avz --delete'
# 项目 build 后静态文件位置
SOURCE: './dist/'
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_PORT: ${{ secrets.REMOTE_PORT }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
SOURCE: './dist/'
TARGET: ${{ secrets.TARGET }}
ARGS: '-avP --progress'

0 comments on commit adb577e

Please sign in to comment.