Skip to content

Commit

Permalink
ci: test scp
Browse files Browse the repository at this point in the history
  • Loading branch information
Link authored Dec 22, 2020
1 parent 74496c7 commit e38a530
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,16 @@ jobs:

- name: Build
run: yarn build

- name: copy file via ssh password
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
source: "dist/"
target: "/usr/sitemap/web_music"

- name: Release to github page
env:
Expand Down

0 comments on commit e38a530

Please sign in to comment.