From 33f0bc173a780749cda3fc3074112aad700c4b84 Mon Sep 17 00:00:00 2001 From: mkucharz Date: Fri, 22 Dec 2017 19:43:56 +0100 Subject: [PATCH] fix(): deploy variables --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9babcfd0..0a4ae097 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -116,13 +116,11 @@ jobs: working_directory: ~/repo - environment: - SYNCANO_AUTH_KEY: ${CANARY_SYNCANO_AUTH_KEY} - SYNCANO_PROJECT_INSTANCE: ${CANARY_SYNCANO_PROJECT_INSTANCE} - steps: - restore_cache: key: v1-repo-{{ .Environment.CIRCLE_SHA1 }} + - run: export SYNCANO_AUTH_KEY=${CANARY_SYNCANO_AUTH_KEY} + - run: export SYNCANO_PROJECT_INSTANCE=${CANARY_SYNCANO_PROJECT_INSTANCE} - run: npx npm-cli-login -u $NPM_USER -p $NPM_PASS -e $NPM_EMAIL -s syncano - run: npx lerna publish --canary --yes - run: node packages/cli/lib/cli.js deploy