Add deployment info to pipelines config
This commit is contained in:
parent
42960f531d
commit
38f0b64d96
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue