summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deploy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy.py b/deploy.py
index 23edc18..053237a 100644
--- a/deploy.py
+++ b/deploy.py
@@ -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()