Use Zeit cloud v1 to avoid 100MB image limit

Closes #366 - thanks @slygent
This commit is contained in:
Simon Willison 2018-11-04 22:22:34 -08:00
commit b6546da535
No known key found for this signature in database
GPG key ID: 17E2DEA2588B7F52

View file

@ -1,5 +1,6 @@
from datasette import hookimpl
import click
import json
from subprocess import call
from .common import (
@ -69,6 +70,11 @@ def publish_subcommand(publish):
"source_url": source_url,
},
):
open("now.json", "w").write(json.dumps({
"features": {
"cloud": "v1"
}
}))
args = []
if force:
args.append("--force")