Add manual prod deploy trigger

This commit is contained in:
Ramon Wenger 2020-04-16 17:23:41 +02:00
parent 32ab006abe
commit f9887a3105
1 changed files with 7 additions and 0 deletions

View File

@ -63,6 +63,12 @@ aliases:
deployment: prod deployment: prod
script: script:
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
- &deploy-prod-manual
name: deploy to prod on Heroku
deployment: prod
trigger: manual
script:
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
- &deploy-dev - &deploy-dev
name: deploy to dev on Heroku name: deploy to dev on Heroku
deployment: dev deployment: dev
@ -82,6 +88,7 @@ pipelines:
- step: *unittest-python - step: *unittest-python
- step: *cypress-test - step: *cypress-test
- step: *jest-test - step: *jest-test
- step: *deploy-prod-manual
develop: develop:
- step: *unittest-python - step: *unittest-python