diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-12-30 18:08:35 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2022-12-30 18:08:35 +0100 |
commit | 5f9106a212a251920360f9763848d07f79688505 (patch) | |
tree | 7831c658301a5b2b1057877623a1d5ba762d90dd /roles/git/files/runner-zola/webhook.sh | |
parent | 543b1f369576430b76f0aa7d44c4fe6f7e9785b4 (diff) | |
download | ansible-memzero-5f9106a212a251920360f9763848d07f79688505.tar.gz ansible-memzero-5f9106a212a251920360f9763848d07f79688505.zip |
git: pull blog from non-redirected port
Diffstat (limited to 'roles/git/files/runner-zola/webhook.sh')
-rwxr-xr-x | roles/git/files/runner-zola/webhook.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/git/files/runner-zola/webhook.sh b/roles/git/files/runner-zola/webhook.sh index 6f20c8c..1c10685 100755 --- a/roles/git/files/runner-zola/webhook.sh +++ b/roles/git/files/runner-zola/webhook.sh @@ -18,7 +18,10 @@ while true; do REF=${REF:-main} if [ ! -d blog ]; then - git clone https://git.memzero.de/blog + # Use non-redirected port as redirection is handled via PREROUTING + # iptables rules and if this hook runs on the same machine the request + # packages will not go through the routing chain. + git clone https://git.memzero.de:8443/blog fi git -C blog submodule init git -C blog submodule update |