mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use Zeit cloud v1 to avoid 100MB image limit
Closes #366 - thanks @slygent
This commit is contained in:
parent
5debabd3fb
commit
b6546da535
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
from datasette import hookimpl
|
from datasette import hookimpl
|
||||||
import click
|
import click
|
||||||
|
import json
|
||||||
from subprocess import call
|
from subprocess import call
|
||||||
|
|
||||||
from .common import (
|
from .common import (
|
||||||
|
|
@ -69,6 +70,11 @@ def publish_subcommand(publish):
|
||||||
"source_url": source_url,
|
"source_url": source_url,
|
||||||
},
|
},
|
||||||
):
|
):
|
||||||
|
open("now.json", "w").write(json.dumps({
|
||||||
|
"features": {
|
||||||
|
"cloud": "v1"
|
||||||
|
}
|
||||||
|
}))
|
||||||
args = []
|
args = []
|
||||||
if force:
|
if force:
|
||||||
args.append("--force")
|
args.append("--force")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue