Hi,
I'm trying to create a pipeline to push changes to the remote heroku branch. The problem is I don't know how to specify the remote branch to push changes to. When I run my pipeline from the bitbucket DEV branch I want it to be pushed to the heroku remote app, but master branch. But bitbucket set up it itself, and it's always wrong because it's always dev branch:
<span>+ git push <a href="https://heroku:%24HEROKU_API_KEY@git.heroku.com/%24HEROKU_APP_DEV.git" target="_blank" rel="nofollow noopener noreferrer">https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_DEV.git</a> HEAD</span><span>remote: Pushed to non-master branch, skipping build. </span><span>To <a href="https://heroku:%24HEROKU_API_KEY@git.heroku.com/ptolemy-engine-dev.git" target="_blank" rel="nofollow noopener noreferrer">https://heroku:$HEROKU_API_KEY@git.heroku.com/mysite.git</a></span><span> * [new branch] HEAD -> dev</span>
<span>How can I specify the branch to be pushed to?</span>
<span>Thanks</span>