Only build ui when changes occur

This commit is contained in:
Tom Gallacher 2017-01-06 12:56:24 +00:00
parent cbbc764f30
commit 057f074553
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ deployment:
branch: master
commands:
- ./bin/docker-login
- ./bin/on-changes && make -C ui publish | sed '/NPM_TOKEN/d'
- ./bin/on-changes ui && make -C ui publish | sed '/NPM_TOKEN/d'
- make -j2 build | sed '/NPM_TOKEN/d'
- make -j2 push | sed '/NPM_TOKEN/d'
- ./bin/deploy