Files
mes-ui-d2/.github/workflows/main.yml
FairyEver d36d600186 test github ci
Former-commit-id: 451ecfdc063a531424c580f74bd11f88628f9e72
Former-commit-id: bd668f4636ce8554cbdaa97b6e4500a297232bea
Former-commit-id: e4b5e82232211ed78db2d8b5aa9deb5203d9dfb6
Former-commit-id: 9f0fac02d32e36181b91e3c1bc59ba06329d43d6 [formerly 61205d2528159467ab952d4c046b3f29b0b752a5]
Former-commit-id: 2f8043fef812db56edd85de8771277a157fcb100
Former-commit-id: c6accefe6665e7f4b43dc7d11f03f49e8a05cb09
Former-commit-id: abd082f4b0456825373b58b8e74030cae87c06a7
Former-commit-id: 73a9a2111484dc41a0bf476a647ff0b6f9835ffa
Former-commit-id: 57cd890664ea83015a8722ec29a02a54d78d08bf
2019-11-26 10:15:29 +08:00

31 lines
693 B
YAML

name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Yarn
run: |
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH=$HOME/.yarn/bin:$PATH
- name: Install packages
run: yarn
- 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