From 3dfca328ee4747f6258ef2d1e3b9efb69fcddfab Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 16 Aug 2021 14:28:04 +0200 Subject: deploy.py: use absolute URL instead of remote name for deployment --- deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit