From 5275b2c7df68b02ac0ab7ea5d2a1a1fcbcb2ffd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Tue, 20 Jun 2017 15:52:32 +0100 Subject: [PATCH] ci: don't build portal-api (for now) --- scripts/deploy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/deploy b/scripts/deploy index eb9924a8..72beae86 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -89,6 +89,11 @@ const build = async () => { const { name } = await readPkg(folder); const tags = [`${name}:${CIRCLE_BRANCH}`, `${name}:latest`]; + // todo remove this + if (name === 'portal-api') { + return; + } + LOG(`${figures.arrowRight} build.name ${name}`); LOG(JSON.stringify(tags, null, 2)); @@ -111,7 +116,7 @@ const build = async () => { return `${NAMESPACE}/${name}`; }); - await map(images, image => { + await map(images.filter(Boolean), image => { LOG(`${figures.arrowRight} build.push ${image}`); return execa('docker', ['push', `${image}`], { stdio: 'inherit'