1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00

Debugging deployment

This commit is contained in:
Tom Gallacher 2017-01-06 15:10:20 +00:00
parent 22dd961fce
commit a04d642d82

View File

@ -4,9 +4,10 @@
# Prelude # Prelude
# #
set -euo pipefail set -euo pipefail
set -x
# Set internal field seperator to `/` to split up urls # Set internal field seperator to `/` to split up urls
IFS='/' IFS='/'
read -ra ADDR <<< "$CIRCLE_COMPARE_URL" read -ra ADDR <<< "$CIRCLE_COMPARE_URL"
[[ $(git diff --name-only "${ADDR[-1]}") == *"ui/"* ]] && make -C ui publish | sed '/NPM_TOKEN/d' [[ "$(git diff --name-only """${ADDR[-1]}""")" == *"ui/"* ]] && make -C ui publish | sed '/NPM_TOKEN/d'