Add dev deployment step to all branches

This commit is contained in:
Ramon Wenger 2020-04-07 12:01:40 +02:00
parent 38f0b64d96
commit e340c91a12
1 changed files with 7 additions and 0 deletions

View File

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