Put now.json in the correct directory

This commit is contained in:
Simon Willison 2018-06-26 08:19:35 -07:00
commit 7280e8500c

View file

@ -14,6 +14,6 @@ jobs:
script:
- npm install -g now
- npm run build
- echo '{"name":"datasette-vega-latest","alias":"datasette-vega-latest.datasette.io"}' > now.json
- 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