From c50b525bf516d588ecb081dbcfc6eb34d05e8018 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Sat, 14 Dec 2019 14:56:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-cdn.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-cdn.yml b/.github/workflows/deploy-cdn.yml index 5a157675..21f79dd2 100644 --- a/.github/workflows/deploy-cdn.yml +++ b/.github/workflows/deploy-cdn.yml @@ -32,11 +32,9 @@ jobs: run: npm run build:preview - name: CDN login run: ./qshell account ${{ secrets.AK }} ${{ secrets.SK }} GITHUB_ACTION - - name: Set variable - run: | - REPO=${GITHUB_REPOSITORY//*\//} - name: CDN upload run: | + REPO=${GITHUB_REPOSITORY//*\//} echo $SITE > cdnrefresh.txt ./qshell qupload2 \ --src-dir=$GITHUB_WORKSPACE$DIST_FOLDER \ @@ -47,8 +45,10 @@ jobs: --check-hash=true \ --check-size=true \ --rescan-local=true \ - --thread-count=32 + --thread-count=1024 - name: CDN refresh 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 + run: | + REPO=${GITHUB_REPOSITORY//*\//} + curl https://api.day.app/EweNWLE36rvVR8EFfWGq7k/$REPO/${GITHUB_WORKFLOW}%20Done \ No newline at end of file