Skip to content

Commit

Permalink
feat:add action
Browse files Browse the repository at this point in the history
  • Loading branch information
linround committed Sep 11, 2023
1 parent d40830f commit 635d14d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@ jobs:
- run: npm run build # 执行命令
name: '部署'
- uses: cross-the-world/scp-pipeline@master
env:
WELCOME: "ssh scp ssh pipelines"
LASTSSH: "Doing something after copying"
with:
host: ${{ secrets.USER_HOST }}
user: ${{ secrets.USER_NAME }}
pass: ${{ secrets.USER_PASS }}
connect_timeout: 10s
connect_timeout: 20s
local: './dist/*'
remote: usr/local/nginx/html
remote: /usr/local/nginx/html



0 comments on commit 635d14d

Please sign in to comment.