From e2b304d2db59d5d2c7c6fce4789d14e8bda4a056 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Tue, 26 Nov 2019 10:52:42 +0800 Subject: [PATCH] test github ci --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed4615ee..c7b87e96 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,12 @@ jobs: steps: - uses: actions/checkout@v1 + - name: test + run: echo ${{ HOME }} + - name: test folder + run: | + cd ${{ HOME }} + ls - uses: actions/setup-node@v1 with: node-version: '10.x' @@ -26,5 +32,5 @@ jobs: - name: Deploy to CDN run: | ./deploy/qshell account ${{ secrets.AK }} ${{ secrets.SK }} liyang - ./deploy/qshell qupload ./deploy/upload.conf - ./deploy/qshell cdnrefresh --dirs -i ./deploy/cdnrefresh.txt + ./deploy/qshell qupload2 --src-dir=/home/travis/build/d2-projects/d2-admin/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