From 26d10a121650767cf0417d4c6823f39b773343cc Mon Sep 17 00:00:00 2001 From: esensar Date: Mon, 22 Oct 2018 20:00:09 +0200 Subject: [PATCH] Fix pipelines push script --- bitbucket-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index cb2a008..6317895 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -15,7 +15,7 @@ pipelines: deployment: staging # set to test, staging or production # trigger: manual # uncomment to have a manual step script: - - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git master + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master develop: - step: # set HEROKU_API_KEY and HEROKU_APP_NAME environment variables @@ -24,5 +24,5 @@ pipelines: deployment: test # set to test, staging or production # trigger: manual # uncomment to have a manual step script: - - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME_TEST.git master + - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME_TEST.git HEAD:master