mirror of
https://github.com/simonw/datasette-vega.git
synced 2026-09-10 18:44:21 +02:00
Set REACT_APP_STAGE when building demo
This commit is contained in:
parent
7280e8500c
commit
64be9a6f0d
1 changed files with 4 additions and 1 deletions
|
|
@ -1,9 +1,12 @@
|
|||
language: node_js
|
||||
|
||||
node_js:
|
||||
- "stable"
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
script:
|
||||
- CI=true npm test
|
||||
|
||||
|
|
@ -13,7 +16,7 @@ jobs:
|
|||
on: travis-ci
|
||||
script:
|
||||
- npm install -g now
|
||||
- npm run build
|
||||
- REACT_APP_STAGE=dev npm run build
|
||||
- echo '{"name":"datasette-vega-latest","alias":"datasette-vega-latest.datasette.io"}' > build/now.json
|
||||
- cd build && now --name=datasette-vega-latest --token=$NOW_TOKEN
|
||||
- now alias --token=$NOW_TOKEN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue