diff options
author | jaseg <git@jaseg.de> | 2021-08-15 13:43:18 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-08-15 13:43:18 +0200 |
commit | e984a60731a599bf6e2876d9d6ff4cff35dad0aa (patch) | |
tree | f0a578aaec1c69d614325f19c12b0d6fe2cd0db0 | |
parent | fe92b473b8087cb7ead693810ed7615814e7eaf9 (diff) | |
download | blog-e984a60731a599bf6e2876d9d6ff4cff35dad0aa.tar.gz blog-e984a60731a599bf6e2876d9d6ff4cff35dad0aa.tar.bz2 blog-e984a60731a599bf6e2876d9d6ff4cff35dad0aa.zip |
Update deploy.py
-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() |