exclude dev docker-compose

This commit is contained in:
cupcakearmy
2019-03-24 01:24:27 +01:00
parent 438db6bf63
commit bf1da40f21
2 changed files with 8 additions and 3 deletions

View File

@@ -24,11 +24,10 @@ steps:
target: /srv/web/home
sources:
- ./public
- ./docker-compose.yml
- ./docker-compose.prod.yml
commands:
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml down
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
- docker-compose -f docker-compose.prod.yml down
- docker-compose -f docker-compose.prod.yml up -d
when:
event: push
branch: master