MrShi
4 天以前 82f707ece09a906007f3d760b6bb025896e3bba6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
sudo: required
node_js:
  - 10.0.0
cache:
  directories:
    - node_modules
before_install:
  - export TZ='Asia/Shanghai'
install:
  - npm install
script:
  - npm run publish
 
after_script:
  - git init
  - git config user.name "${USER_NAME}"
  - git config user.email "${USER_EMAIL}"
  - git add .
  - git commit -m "publish"
  - git push -f https://${access_token}@github.com/yingye/weapp-qrcode HEAD:master
 
branch: master