# 编译平台 language: node_js # 编译版本 node_js: - "8.4.0" # 指定分支 branches: only: - master # 获取令牌 before_install: - openssl aes-256-cbc -K $encrypted_75f2e5a02d2f_key -iv $encrypted_75f2e5a02d2f_iv -in NPM_TOKEN.enc -out NPM_TOKEN -d # 执行脚本 script: - chmod +x deploy.sh - ./deploy.sh # 消息通知 notifications: webhooks: urls: - https://hooks.pubu.im/services/2k9gdn43rywwcmw on_start: always