From 67ce113fcbd9a13e28969a446abd9b6654132432 Mon Sep 17 00:00:00 2001 From: Link <1349900765@qq.com> Date: Tue, 22 Dec 2020 21:52:01 +0800 Subject: [PATCH] ci: rename dist --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 01049353..badb089b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -118,6 +118,9 @@ 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: @@ -125,8 +128,8 @@ jobs: 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: