From 837e57acbf7ac517ec8261f0e83872cc543e3308 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Sat, 14 Dec 2019 14:50:38 +0800 Subject: [PATCH] qupload2 --- .github/workflows/deploy-cdn.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-cdn.yml b/.github/workflows/deploy-cdn.yml index 8666dc72..5a157675 100644 --- a/.github/workflows/deploy-cdn.yml +++ b/.github/workflows/deploy-cdn.yml @@ -32,20 +32,20 @@ jobs: run: npm run build:preview - name: CDN login run: ./qshell account ${{ secrets.AK }} ${{ secrets.SK }} GITHUB_ACTION - - name: CDN upload + - name: Set variable run: | REPO=${GITHUB_REPOSITORY//*\//} - name: CDN upload run: | echo $SITE > cdnrefresh.txt - ./qshell qupload2\ - --src-dir=$GITHUB_WORKSPACE$DIST_FOLDER\ - --bucket=$QINIU_BUCKET\ - --key-prefix=$REPO$PATH_SUFFIX/\ - --overwrite=true\ - --check-exists=true\ - --check-hash=true\ - --check-size=true\ + ./qshell qupload2 \ + --src-dir=$GITHUB_WORKSPACE$DIST_FOLDER \ + --bucket=$QINIU_BUCKET \ + --key-prefix=$REPO$PATH_SUFFIX/ \ + --overwrite=true \ + --check-exists=true \ + --check-hash=true \ + --check-size=true \ --rescan-local=true \ --thread-count=32 - name: CDN refresh