From a44c12dcdd539348061b55a70c06f322fe1a8061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 31 May 2017 17:57:57 +0100 Subject: [PATCH] fix: define SDC_ACCOUNT --- scripts/deploy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/deploy b/scripts/deploy index ac8393a7..afdc688b 100755 --- a/scripts/deploy +++ b/scripts/deploy @@ -16,12 +16,12 @@ const ROOT = path.join(__dirname, '..'); const LOG = console.log; const createTritonProfile = async () => { + const { SDC_ACCOUNT = '', SDC_KEY_ID = '' } = process.env; + LOG( `${figures.arrowRight} create triton profile SDC_ACCOUNT=${SDC_ACCOUNT.length} SDC_KEY_ID=${SDC_KEY_ID.length}` ); - const { SDC_ACCOUNT = '', SDC_KEY_ID = '' } = process.env; - const payload = JSON.stringify({ url: 'https://eu-ams-1.api.joyent.com', account: SDC_ACCOUNT, @@ -72,10 +72,10 @@ const login = async () => { }; const build = async () => { - const { CIRCLE_BRANCH } = process.env; - LOG(`${figures.arrowRight} build`); + const { CIRCLE_BRANCH } = process.env; + const dockerfiles = await globby(['packages/*/Dockerfile'], { cwd: ROOT });