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
|
- image: circleci/node:12.9.1
|
||||||
environment:
|
environment:
|
||||||
TERM: xterm # Enable colors in term
|
TERM: xterm # Enable colors in term
|
||||||
|
QUICK_BUILD: true
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -164,7 +165,9 @@ jobs:
|
|||||||
# Persist :+1:
|
# Persist :+1:
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: ~/repo
|
root: ~/repo
|
||||||
paths: .
|
paths:
|
||||||
|
- platform/viewer/dist
|
||||||
|
- netlify.toml
|
||||||
|
|
||||||
DEPLOY_TO_DEV:
|
DEPLOY_TO_DEV:
|
||||||
docker:
|
docker:
|
||||||
@ -176,7 +179,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ~/repo
|
at: ~/repo
|
||||||
- run: npx netlify deploy --prod
|
- run: npx netlify deploy --prod --dir platform/viewer/dist
|
||||||
|
|
||||||
DEPLOY_TO_STAGING:
|
DEPLOY_TO_STAGING:
|
||||||
docker:
|
docker:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user