1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

deployment: only run setup after images built.

This commit is contained in:
Tom Gallacher 2016-10-20 15:40:24 +01:00
parent 0adce28a1c
commit 1960e62757
2 changed files with 3 additions and 2 deletions

View File

@ -2,11 +2,13 @@
triton env triton env
docker-compose build docker-compose build
#docker-compose push docker-compose push
export DOCKER_HOST=$_DOCKER_HOST export DOCKER_HOST=$_DOCKER_HOST
export DOCKER_CERT_PATH=$_DOCKER_CERT_PATH export DOCKER_CERT_PATH=$_DOCKER_CERT_PATH
export DOCKER_TLS_VERIFY=$_DOCKER_TLS_VERIFY export DOCKER_TLS_VERIFY=$_DOCKER_TLS_VERIFY
./bin/setup
docker-compose pull docker-compose pull
docker-compose up -d docker-compose up -d

View File

@ -25,7 +25,6 @@ deployment:
production: # just a label; label names are completely up to you production: # just a label; label names are completely up to you
branch: master branch: master
commands: commands:
- ./bin/setup
- ./bin/deploy - ./bin/deploy
## Custom notifications ## Custom notifications