aboutsummaryrefslogtreecommitdiff
path: root/roles/git
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git')
-rwxr-xr-xroles/git/files/runner-zola/webhook.sh5
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