Make push to master deploy on myskillbox.ch
This commit is contained in:
parent
31c22846f6
commit
ae7fc596b9
|
|
@ -11,8 +11,8 @@ clone:
|
|||
|
||||
|
||||
definitions:
|
||||
step: &testserver
|
||||
name: testserver
|
||||
step: &unittest-python
|
||||
name: Unittest python server code
|
||||
caches:
|
||||
- pip
|
||||
services:
|
||||
|
|
@ -32,12 +32,12 @@ definitions:
|
|||
|
||||
pipelines:
|
||||
default:
|
||||
- step: *testserver
|
||||
- step: *unittest-python
|
||||
|
||||
branches:
|
||||
master:
|
||||
- step: *testserver
|
||||
- step: *unittest-python
|
||||
- step:
|
||||
name: heroku-deploy
|
||||
name: Heroku deploy skillbox-prod
|
||||
script:
|
||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD:master
|
||||
- git push https://heroku:$HEROKU_API_KEY@git.heroku.com/skillbox-prod.git HEAD:master
|
||||
|
|
|
|||
Loading…
Reference in New Issue