mirror of
https://github.com/yldio/copilot.git
synced 2024-11-13 06:40:06 +02:00
Hopefully fix builds
This commit is contained in:
parent
057f074553
commit
d54f8d4704
@ -1,8 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
#
|
||||
# Prelude
|
||||
#
|
||||
set -euo pipefail
|
||||
|
||||
[[ $(git diff --name-only) == *"$1"* ]]
|
8
bin/on-changes-publish-ui
Executable file
8
bin/on-changes-publish-ui
Executable file
@ -0,0 +1,8 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
#
|
||||
# Prelude
|
||||
#
|
||||
set -euo pipefail
|
||||
|
||||
[[ $(git diff --name-only) == *"ui/"* ]] && make -C ui publish | sed '/NPM_TOKEN/d'
|
@ -32,7 +32,7 @@ deployment:
|
||||
branch: master
|
||||
commands:
|
||||
- ./bin/docker-login
|
||||
- ./bin/on-changes ui && make -C ui publish | sed '/NPM_TOKEN/d'
|
||||
- ./bin/on-changes-publish-ui
|
||||
- make -j2 build | sed '/NPM_TOKEN/d'
|
||||
- make -j2 push | sed '/NPM_TOKEN/d'
|
||||
- ./bin/deploy
|
||||
|
Loading…
Reference in New Issue
Block a user