Update deploy.py
This commit is contained in:
parent
fe92b473b8
commit
e984a60731
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ if __name__ == '__main__':
|
|||
subprocess.run(['git', 'worktree', 'add', '--detach', tmpdir], check=True)
|
||||
try:
|
||||
subprocess.run(['hugo'], cwd=tmpdir, check=True)
|
||||
subprocess.run(['git', 'add', '--force', 'public'], check=True)
|
||||
write_tree = subprocess.run(['git', 'write-tree', '--prefix=public/'], check=True, capture_output=True)
|
||||
tree = write_tree.stdout.strip()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue