Skip to content

Commit

Permalink
ci: rename dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Link authored Dec 22, 2020
1 parent e38a530 commit 67ce113
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,18 @@ jobs:
- name: Build
run: yarn build

- name: Rename dist
run: cp -r dist music

- 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"
source: "music/"
target: "/usr/sitemap"

- name: Release to github page
env:
Expand Down

0 comments on commit 67ce113

Please sign in to comment.