1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30:06 +02:00

Fixing broken circle.yml

This commit is contained in:
Tom Gallacher 2017-01-06 12:50:11 +00:00
parent a3a7622927
commit 91c377c134
2 changed files with 9 additions and 1 deletions

8
bin/on-changes Executable file
View File

@ -0,0 +1,8 @@
#! /usr/bin/env bash
#
# Prelude
#
set -euo pipefail
[[ $(git diff --name-only) == *"$1"* ]]

View File

@ -32,7 +32,7 @@ deployment:
branch: master
commands:
- ./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 push | sed '/NPM_TOKEN/d'
- ./bin/deploy