Add separate deploy pipeline
This commit is contained in:
parent
5774715502
commit
6bd709b8c4
|
|
@ -30,6 +30,10 @@ aliases:
|
|||
- export USE_AWS=False
|
||||
- pipenv install --dev --system
|
||||
- ./server/run_unittests_coverage.sh
|
||||
- &deploy-prod
|
||||
name: Heroku deploy skillbox-prod
|
||||
script:
|
||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
|
||||
|
||||
pipelines:
|
||||
default:
|
||||
|
|
@ -38,10 +42,6 @@ pipelines:
|
|||
branches:
|
||||
master:
|
||||
- step: *unittest-python
|
||||
- step:
|
||||
name: Heroku deploy skillbox-prod
|
||||
script:
|
||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
|
||||
|
||||
develop:
|
||||
- step: *unittest-python
|
||||
|
|
@ -50,3 +50,8 @@ pipelines:
|
|||
script:
|
||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-stage.git develop:master
|
||||
|
||||
deployment:
|
||||
prod:
|
||||
- step: *unittest-python
|
||||
- step: *deploy-prod
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue