This commit is contained in:
FairyEver 2019-11-26 11:20:21 +08:00
parent b8e5d8092b
commit 5810d2d2f8
1 changed files with 5 additions and 1 deletions

View File

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