Make push to master deploy on myskillbox.ch

This commit is contained in:
Daniel Egger 2018-10-04 22:26:05 +02:00
parent 31c22846f6
commit ae7fc596b9
1 changed files with 6 additions and 6 deletions

View File

@ -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