Make push to master deploy on myskillbox.ch
This commit is contained in:
parent
31c22846f6
commit
ae7fc596b9
|
|
@ -11,8 +11,8 @@ clone:
|
||||||
|
|
||||||
|
|
||||||
definitions:
|
definitions:
|
||||||
step: &testserver
|
step: &unittest-python
|
||||||
name: testserver
|
name: Unittest python server code
|
||||||
caches:
|
caches:
|
||||||
- pip
|
- pip
|
||||||
services:
|
services:
|
||||||
|
|
@ -32,12 +32,12 @@ definitions:
|
||||||
|
|
||||||
pipelines:
|
pipelines:
|
||||||
default:
|
default:
|
||||||
- step: *testserver
|
- step: *unittest-python
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
master:
|
master:
|
||||||
- step: *testserver
|
- step: *unittest-python
|
||||||
- step:
|
- step:
|
||||||
name: heroku-deploy
|
name: Heroku deploy skillbox-prod
|
||||||
script:
|
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