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 ed86ad3 commit e00cba0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ jobs:
run: npm install
- name: Run build task
run: npm run build --if-present
- 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:
username: 'root'
username: ${{ secrets.REMOTE_USER }}
server: ${{ secrets.REMOTE_HOST }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
local_path: './dist/*'
Expand Down

0 comments on commit e00cba0

Please sign in to comment.