From 0d3f634646efa3b9248b99610fb1af54bd18e051 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Tue, 26 Nov 2019 11:20:21 +0800 Subject: [PATCH] test ci Former-commit-id: 5810d2d2f84ea7f468e7312074053117a496ecd4 Former-commit-id: 999703ea7a4608ce0733568d7293edecfb3d27c1 Former-commit-id: e5ea3608b30069656efc5c33382ed87b33f0848a Former-commit-id: 3156728b517e997d8557e269e6db48a9293d77e0 [formerly a288ee63742fab85aabdf366efb4fd5b0951445c] Former-commit-id: 5caa035ce0e7890dda5b4f70e59b0c465f04391e Former-commit-id: 7d13b69ca76cc1db8f11e418623db577e85b3d0a Former-commit-id: f14cff2f01583bc3c0fc6be4be530a1ba3fa7f52 Former-commit-id: 56d02ef0ad09f3ce073a70ca70cbd214babdaa82 Former-commit-id: 2c5e8d47cc9ae915ac0c1104f45a7b942dab1930 --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3dec74ee..0c4e3185 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,8 +29,12 @@ jobs: run: yarn - name: Build Code run: yarn run build:github + - name: test folder + run: | + cd $GITHUB_WORKSPACE/dist + ls - name: Deploy to CDN run: | ./deploy/qshell account ${{ secrets.AK }} ${{ secrets.SK }} liyang - ./deploy/qshell qupload2 --src-dir=${{ $GITHUB_WORKSPACE }}/dist --bucket=fairyever-site --key-prefix=d2-admin/preview/ --ignore-dir=false --overwrite=true --check-exists=true --check-hash=true --check-size=true --rescan-local=true + ./deploy/qshell qupload2 --src-dir=GITHUB_WORKSPACE/dist --bucket=fairyever-site --key-prefix=d2-admin/preview/ --ignore-dir=false --overwrite=true --check-exists=true --check-hash=true --check-size=true --rescan-local=true ./deploy/qshell cdnrefresh --dirs -i ./deploy/cdnrefresh.txt \ No newline at end of file