0
我试图使用bitbucket管道来部署两个应用程序在heroku上的应用程序收到主分支从git回购,这是运行良好,部署没有问题。使用bitbucket管道部署到非主分支
问题是,当我尝试从一个叫分支部署“发展”到其他应用中的Heroku我得到管控制台上的错误错误到位桶
+ git push https://heroku:[email protected]/$HEROKU_APP_NAME_DEV.git HEAD
remote: Pushed to non-master branch, skipping build.
这里是我的bitbucket- pipes.yml
pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- npm install
- git push https://heroku:[email protected]/$HEROKU_APP_NAME.git HEAD
branches:
develop:
- step:
script:
- npm install
- git push https://heroku:[email protected]/$HEROKU_APP_NAME_DEV.git HEAD