Ci/promotable builds (#1179)

* 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
This commit is contained in:
Danny Brown 2019-11-14 15:27:34 -05:00 committed by GitHub
parent 538ea2516d
commit 17358c3f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ defaults: &defaults
- image: circleci/node:12.9.1
environment:
TERM: xterm # Enable colors in term
QUICK_BUILD: true
working_directory: ~/repo
jobs:
@ -164,7 +165,9 @@ jobs:
# Persist :+1:
- persist_to_workspace:
root: ~/repo
paths: .
paths:
- platform/viewer/dist
- netlify.toml
DEPLOY_TO_DEV:
docker:
@ -176,7 +179,7 @@ jobs:
steps:
- attach_workspace:
at: ~/repo
- run: npx netlify deploy --prod
- run: npx netlify deploy --prod --dir platform/viewer/dist
DEPLOY_TO_STAGING:
docker: