summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-08-16 14:28:04 +0200
committerjaseg <git@jaseg.de>2021-08-16 14:28:04 +0200
commit3dfca328ee4747f6258ef2d1e3b9efb69fcddfab (patch)
treed1d2bd11879bbd62e916b1314c606dfac70777c4
parentf61c032d2361e8a507a3e267ef81777fe6fa0fc8 (diff)
downloadblog-3dfca328ee4747f6258ef2d1e3b9efb69fcddfab.tar.gz
blog-3dfca328ee4747f6258ef2d1e3b9efb69fcddfab.tar.bz2
blog-3dfca328ee4747f6258ef2d1e3b9efb69fcddfab.zip
deploy.py: use absolute URL instead of remote name for deployment
-rw-r--r--deploy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy.py b/deploy.py
index f607b77..96f2b33 100644
--- a/deploy.py
+++ b/deploy.py
@@ -21,6 +21,6 @@ if __name__ == '__main__':
commit = subprocess.run(['git', 'commit-tree', '-p', 'HEAD', '-p', 'refs/heads/deploy', '-m', 'deploy.py auto-commit', tree], cwd=tmpdir, check=True, capture_output=True).stdout.strip()
subprocess.run(['git', 'update-ref', '-m', f'deploy.sh update deploy branch to {commit}', 'refs/heads/deploy', commit], cwd=tmpdir, check=True)
- subprocess.run(['git', 'push', 'origin', 'deploy'], cwd=tmpdir, check=True)
+ subprocess.run(['git', 'push', 'git.jaseg.de:blog.git', 'deploy'], cwd=tmpdir, check=True)
finally:
subprocess.run(['git', 'worktree', 'remove', '-f', tmpdir], check=True)