Fix pipelines push script

develop
esensar 2018-10-22 20:00:09 +02:00
parent 9d29fecc23
commit 26d10a1216
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ pipelines:
deployment: staging # set to test, staging or production deployment: staging # set to test, staging or production
# trigger: manual # uncomment to have a manual step # trigger: manual # uncomment to have a manual step
script: 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: develop:
- step: - step:
# set HEROKU_API_KEY and HEROKU_APP_NAME environment variables # set HEROKU_API_KEY and HEROKU_APP_NAME environment variables
@ -24,5 +24,5 @@ pipelines:
deployment: test # set to test, staging or production deployment: test # set to test, staging or production
# trigger: manual # uncomment to have a manual step # trigger: manual # uncomment to have a manual step
script: 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