mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Add metadata, if it exists, to heroku temp dir (#178)
This commit is contained in:
parent
cac32b0ec4
commit
3a56a2cd7e
1 changed files with 2 additions and 0 deletions
|
|
@ -264,6 +264,8 @@ def temporary_heroku_directory(files, name, metadata, extra_options, branch, tem
|
|||
os.path.join(tmp.name, 'templates')
|
||||
)
|
||||
extras.extend(['--template-dir', 'templates/'])
|
||||
if metadata:
|
||||
extras.extend(['--metadata', 'metadata.json'])
|
||||
for mount_point, path in static:
|
||||
link_or_copy_directory(
|
||||
os.path.join(saved_cwd, path),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue