From 9ed08f7bc11c81e2b2f5281c64464fb3bd0c7363 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Sat, 14 Dec 2019 14:45:09 +0800 Subject: [PATCH] deploy-cdn --- .github/workflows/deploy-cdn.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-cdn.yml b/.github/workflows/deploy-cdn.yml index aabd7b9a..8666dc72 100644 --- a/.github/workflows/deploy-cdn.yml +++ b/.github/workflows/deploy-cdn.yml @@ -35,8 +35,9 @@ jobs: - name: CDN upload run: | REPO=${GITHUB_REPOSITORY//*\//} - REFRESH_URL=$SITE - echo $REFRESH_URL > cdnrefresh.txt + - name: CDN upload + run: | + echo $SITE > cdnrefresh.txt ./qshell qupload2\ --src-dir=$GITHUB_WORKSPACE$DIST_FOLDER\ --bucket=$QINIU_BUCKET\ @@ -48,4 +49,6 @@ jobs: --rescan-local=true \ --thread-count=32 - name: CDN refresh - run: ./qshell cdnrefresh --dirs -i ./cdnrefresh.txt \ No newline at end of file + run: ./qshell cdnrefresh --dirs -i ./cdnrefresh.txt + - name: Notice + run: curl https://api.day.app/EweNWLE36rvVR8EFfWGq7k/$REPO/${GITHUB_WORKFLOW}%20Done \ No newline at end of file