From f4fdc87ebc108a60cef822461e007007033bb805 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Tue, 26 Nov 2019 11:25:28 +0800 Subject: [PATCH] test ci Former-commit-id: a49e138b521c70b96053007b5c29ef6c7c5ac323 Former-commit-id: 2a288fd748319936e6ae5e6e3206ed625497674c Former-commit-id: e5e9a47eafd85e9d465a1719a9db1ca024c63300 Former-commit-id: 33999f24a3107ec1a2ebc89cb9ccdf5e0df20ed8 [formerly 6dff8dc7f23b71cb3afc200f766ab66644303e17] Former-commit-id: 98dc89642cfb66c80f0192cd23c6984aa8ee15c9 Former-commit-id: 9e45dcee42dd681cab7577d9dea6b9b9d8c583f6 Former-commit-id: b4b426f69d0f03ad9b40c31b4d5de7ea6269f025 Former-commit-id: 3ae884d805b46b137fb8a2eb00082aa6741d48f1 Former-commit-id: 1774c8af9b1091df8905d87e1816a10ac9bd8857 --- .github/workflows/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c4e3185..a81a64b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,12 +29,9 @@ 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: | + dist=$GITHUB_WORKSPACE/dist ./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=$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