datasette-publish-vercel icon indicating copy to clipboard operation
datasette-publish-vercel copied to clipboard

template directory fails on non-default path

Open pax opened this issue 3 years ago • 1 comments

It looks that for any path for templates dir other than the default --template-dir templates/ is ignored

I suspect the problem is that the template files are always copied in the /templates folder, regardless of the --template-dir option, while/but index.py takes note on the custom path, thus the mismatch.

Currently, the only way to make templates work is to run datasette publish from the parent folder of templates dir, named as such.

Screenshot 2021-05-26 at 13 55 11

Vercel CLI 23.0.0

pax avatar May 26 '21 11:05 pax