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
docker-compose build
#docker-compose push
docker-compose push
export DOCKER_HOST=$_DOCKER_HOST
export DOCKER_CERT_PATH=$_DOCKER_CERT_PATH
export DOCKER_TLS_VERIFY=$_DOCKER_TLS_VERIFY
./bin/setup
docker-compose pull
docker-compose up -d

View File

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