Former-commit-id: a49e138b52
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
This commit is contained in:
FairyEver 2019-11-26 11:25:28 +08:00
parent 0d3f634646
commit f4fdc87ebc
1 changed files with 2 additions and 5 deletions

View File

@ -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