git add imported assets
This commit is contained in:
parent
64bed4bbb1
commit
8efcd70512
|
@ -88,6 +88,7 @@ def watch() -> None:
|
||||||
continue
|
continue
|
||||||
print(f"{target}: importing...")
|
print(f"{target}: importing...")
|
||||||
src.link_to(target)
|
src.link_to(target)
|
||||||
|
subprocess.run(shlex.split(f'git add {target}'))
|
||||||
uri = target.relative_to('content')
|
uri = target.relative_to('content')
|
||||||
assets.append(f"https://{CONFIG['production_host']}/{uri}")
|
assets.append(f"https://{CONFIG['production_host']}/{uri}")
|
||||||
src.unlink()
|
src.unlink()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user