diff options
-rw-r--r-- | deploy.py | 1 |
1 files changed, 1 insertions, 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() |