Only publish ui
when changes have been made
This commit is contained in:
parent
8dc61bce40
commit
a3a7622927
@ -32,7 +32,7 @@ deployment:
|
||||
branch: master
|
||||
commands:
|
||||
- ./bin/docker-login
|
||||
- make -C ui publish | sed '/NPM_TOKEN/d'
|
||||
- [[ $(git diff --name-only) == *'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
|
||||
|
Loading…
Reference in New Issue
Block a user