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