test github ci

This commit is contained in:
FairyEver 2019-11-26 10:13:54 +08:00
parent 7e79fca972
commit f2282b771a
1 changed files with 10 additions and 5 deletions

View File

@ -15,9 +15,14 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Run a one-line script
run: echo Hello, world!
- name: Run a multi-line script
- name: Install Yarn
run: |
node
1+1
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH=$HOME/.yarn/bin:$PATH
- name: Build Code
run: yarn run build:travis
- 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