From ed9e4d6751c1782fd9c578118bd894b177d79e21 Mon Sep 17 00:00:00 2001 From: Danny Brown Date: Thu, 14 Nov 2019 16:08:25 -0500 Subject: [PATCH] Ci/promotable builds (#1183) * ci: don't build our master branch * Add netlify-cli as a dev dependency * ci: trying a sheltered merge flow for promotions * ci: try building with QUICK_BUILD flag * Try using ~/repo prefix in command * ci: make sure netlify command is available * ci: use sudo for global command * Inline personal access token w/ env var --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 611f94bbc..bc3c4994f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -180,7 +180,9 @@ jobs: - attach_workspace: at: ~/repo - run: sudo npm install netlify-cli -g - - run: sudo npx netlify deploy --prod --dir platform/viewer/dist + - run: + sudo npx netlify deploy --prod --auth $NETLIFY_AUTH_TOKEN --dir + platform/viewer/dist DEPLOY_TO_STAGING: docker: