UNPKG

463 BYAMLView Raw
1# 编译平台
2language: node_js
3
4# 编译版本
5node_js:
6 - "8.4.0"
7
8# 指定分支
9branches:
10 only:
11 - master
12
13# 获取令牌
14before_install:
15 - openssl aes-256-cbc -K $encrypted_75f2e5a02d2f_key -iv $encrypted_75f2e5a02d2f_iv -in NPM_TOKEN.enc -out NPM_TOKEN -d
16
17# 执行脚本
18script:
19 - chmod +x deploy.sh
20 - ./deploy.sh
21
22# 消息通知
23notifications:
24 webhooks:
25 urls:
26 - https://hooks.pubu.im/services/2k9gdn43rywwcmw
27 on_start: always