Ensure publish occurs any other builds

This commit is contained in:
Tom Gallacher 2017-01-05 10:46:10 +00:00
parent d0e70a54b0
commit 40c39012a5
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -48,7 +48,7 @@ build:
docker build -t quay.io/yldio/joyent-dashboard-$(NAME) .
.PHONY: push
push: publish
push:
docker push quay.io/yldio/joyent-dashboard-$(NAME)
.PHONY: clean