Skip to content

Commit

Permalink
fix(ci): cI
Browse files Browse the repository at this point in the history
  • Loading branch information
白唯 committed Oct 13, 2020
1 parent 6929717 commit ed86ad3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ jobs:
- uses: actions/checkout@master
- name: copy file via ssh password
uses: appleboy/scp-action@master

- name: Checkout
uses: actions/checkout@v2
- name: deploy file
uses: wlixcc/SFTP-Deploy-Action@v1.0
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
password: ${{ secrets.REMOTE_PASSWORD }}
port: ${{ secrets.REMOTE_PORT }}
source: "dist/js,dist/css,index.html"
target: ${{secrets.REMOTE_TARGET}}
username: 'root'
server: ${{ secrets.REMOTE_HOST }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
local_path: './dist/*'
remote_path: '/data/www/vue3'
args: '-o ConnectTimeout=5'


16 changes: 0 additions & 16 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit ed86ad3

Please sign in to comment.