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:
parent
538ea2516d
commit
17358c3f4b
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user