From 5a28ff377f59d4cb982ba55135594d839cda2419 Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 30 Jun 2026 00:46:57 +0200 Subject: [PATCH] Extra detail in custom domains deployment via webhooks First deployment needs to happen over HTTP. --- content/codeberg-pages/using-custom-domain.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/codeberg-pages/using-custom-domain.md b/content/codeberg-pages/using-custom-domain.md index af1aab8..817e1a3 100644 --- a/content/codeberg-pages/using-custom-domain.md +++ b/content/codeberg-pages/using-custom-domain.md @@ -213,6 +213,8 @@ set a TXT record on the `_git-pages-forge-allowlist` subdomain of your domain wi **If you deploy from a webhook,** the webhook **Target URL** should be set to the domain you want to deploy your website to. +For technical reasons, the first deployment needs to go over HTTP and you need to specify the `http://` scheme. +After the first succesful deployment you can change it to the `https://` scheme. **If you deploy from Forgejo Actions,** the `site` parameter to the Git-pages action should be set to the URL of your custom domain.