Add deployment info to pipelines config

This commit is contained in:
Ramon Wenger 2020-04-07 11:28:47 +02:00
parent 42960f531d
commit 38f0b64d96
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ aliases:
- npm run test:unit - npm run test:unit
- &deploy-prod - &deploy-prod
name: deploy to prod on Heroku name: deploy to prod on Heroku
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
@ -81,6 +82,7 @@ pipelines:
- step: *jest-test - step: *jest-test
- step: - step:
name: deploy to stage on Heroku name: deploy to stage on Heroku
deployment: stage
script: script:
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master