【发布时间】:2018-03-03 23:31:20
【问题描述】:
有什么方法可以阻止 Bitbucket Pipeline 的构建?
这个过程需要超过 25 分钟?
.yml 文件内容为:-
image: node:8.9.4
pipelines:
default:
- step:
caches:
- node
script: # Modify the commands below to build your repository.
- if [ $BITBUCKET_BRANCH == 'master' ]; then
- npm install -g @angular/cli
- npm install -g firebase-tools
- npm install
- ng build
- firebase deploy --only hosting --token "$FIREBASE_TOKEN" --public dist
- fi
【问题讨论】:
-
您找到解决方案了吗?如果是,请发布。谢谢。
标签: angular firebase firebase-hosting bitbucket-pipelines