Change pipeline to trigger only on master
parent
ad0a3db415
commit
a98c820749
|
@ -6,13 +6,14 @@
|
||||||
image: python:3.5.1
|
image: python:3.5.1
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
branches:
|
||||||
- step:
|
master:
|
||||||
# set HEROKU_API_KEY and HEROKU_APP_NAME environment variables
|
- step:
|
||||||
# set clone `depth: full' as described here: https://confluence.atlassian.com/x/Y9-5Mw
|
# set HEROKU_API_KEY and HEROKU_APP_NAME environment variables
|
||||||
name: Deploy to Heroku staging
|
# set clone `depth: full' as described here: https://confluence.atlassian.com/x/Y9-5Mw
|
||||||
deployment: staging # set to test, staging or production
|
name: Deploy to Heroku staging
|
||||||
# trigger: manual # uncomment to have a manual step
|
deployment: staging # set to test, staging or production
|
||||||
script:
|
# trigger: manual # uncomment to have a manual step
|
||||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD
|
script:
|
||||||
|
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue