From e984a60731a599bf6e2876d9d6ff4cff35dad0aa Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 15 Aug 2021 13:43:18 +0200 Subject: Update deploy.py --- deploy.py | 1 + 1 file changed, 1 insertion(+) 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() -- cgit