2018-09-02 23:09:56 +08:00
|
|
|
language: node_js
|
|
|
|
|
node_js: stable
|
2018-10-23 13:51:40 +08:00
|
|
|
|
2019-05-30 20:53:04 +08:00
|
|
|
notifications:
|
|
|
|
|
webhooks: https://oapi.dingtalk.com/robot/send?access_token=a0918ec1b0461056fb9953fe2b03ecc3074a629e88992f327cc94bae93349e9e
|
|
|
|
|
|
2018-09-02 23:09:56 +08:00
|
|
|
cache:
|
|
|
|
|
directories:
|
|
|
|
|
- "node_modules"
|
|
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
|
|
|
|
|
script:
|
2019-02-20 15:50:31 +08:00
|
|
|
- yarn run build:travis
|
2018-09-02 23:09:56 +08:00
|
|
|
|
2018-10-23 13:51:40 +08:00
|
|
|
before_install:
|
|
|
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
|
|
|
- export PATH=$HOME/.yarn/bin:$PATH
|
|
|
|
|
|
|
|
|
|
after_success:
|
2019-11-25 23:45:16 +08:00
|
|
|
- ./deploy/qshell account $AK $SK liyang
|
|
|
|
|
- ./deploy/qshell qupload ./deploy/upload.conf
|
|
|
|
|
- ./deploy/qshell cdnrefresh --dirs -i ./deploy/cdnrefresh.txt
|