Fixing broken circle.yml
This commit is contained in:
parent
a3a7622927
commit
91c377c134
8
bin/on-changes
Executable file
8
bin/on-changes
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
#
|
||||||
|
# Prelude
|
||||||
|
#
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
[[ $(git diff --name-only) == *"$1"* ]]
|
@ -32,7 +32,7 @@ deployment:
|
|||||||
branch: master
|
branch: master
|
||||||
commands:
|
commands:
|
||||||
- ./bin/docker-login
|
- ./bin/docker-login
|
||||||
- [[ $(git diff --name-only) == *'ui/'* ]] && make -C ui publish | sed '/NPM_TOKEN/d'
|
- ./bin/on-changes && make -C ui publish | sed '/NPM_TOKEN/d'
|
||||||
- make -j2 build | sed '/NPM_TOKEN/d'
|
- make -j2 build | sed '/NPM_TOKEN/d'
|
||||||
- make -j2 push | sed '/NPM_TOKEN/d'
|
- make -j2 push | sed '/NPM_TOKEN/d'
|
||||||
- ./bin/deploy
|
- ./bin/deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user