1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00

circleci: only run ./bin/setup when deployments happen

This commit is contained in:
Tom Gallacher 2016-10-19 15:34:04 +01:00
parent d70e46a9b0
commit 46bce652ba

View File

@ -3,7 +3,6 @@ machine:
post: post:
- npm install -g triton - npm install -g triton
- echo '{"url":"https://eu-ams-1.api.joyent.com","account":"'$SDC_ACCOUNT'","keyId":"c3:30:35:9b:85:48:73:44:31:cc:4b:2e:6a:00:16:e2","name":"eu-ams-1","curr":true}' | triton profile create -f - - echo '{"url":"https://eu-ams-1.api.joyent.com","account":"'$SDC_ACCOUNT'","keyId":"c3:30:35:9b:85:48:73:44:31:cc:4b:2e:6a:00:16:e2","name":"eu-ams-1","curr":true}' | triton profile create -f -
- ./bin/setup.sh
timezone: timezone:
Europe/London Europe/London
@ -25,7 +24,7 @@ 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:
- docker info - ./bin/setup.sh
- docker-compose up -d - docker-compose up -d
## Custom notifications ## Custom notifications