mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Include --token in calls to now alias
This commit is contained in:
parent
38ef2e5943
commit
9fd1ffb613
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
# 3.6 is listed first so it gets used for the later build stages
|
||||||
python:
|
python:
|
||||||
- 3.6
|
- 3.6
|
||||||
- 3.5
|
- 3.5
|
||||||
|
|
@ -18,7 +19,7 @@ jobs:
|
||||||
- python tests/fixtures.py fixtures.db fixtures.json
|
- python tests/fixtures.py fixtures.db fixtures.json
|
||||||
- echo '{"name":"datasette-latest","alias":"latest.datasette.io"}' > now.json
|
- echo '{"name":"datasette-latest","alias":"latest.datasette.io"}' > now.json
|
||||||
- datasette publish now fixtures.db -m fixtures.json --token=$NOW_TOKEN --branch=$TRAVIS_COMMIT --version-note=$TRAVIS_COMMIT
|
- datasette publish now fixtures.db -m fixtures.json --token=$NOW_TOKEN --branch=$TRAVIS_COMMIT --version-note=$TRAVIS_COMMIT
|
||||||
- now alias
|
- now alias --token=$NOW_TOKEN
|
||||||
- echo "{\"name\":\"datasette-latest\",\"alias\":\"$TRAVIS_COMMIT.datasette.io\"}" > now.json
|
- echo "{\"name\":\"datasette-latest\",\"alias\":\"$TRAVIS_COMMIT.datasette.io\"}" > now.json
|
||||||
- now alias
|
- now alias --token=$NOW_TOKEN
|
||||||
on: travis-deploy-now
|
on: travis-deploy-now
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue