add notice about multiple webhooks for pages custom domains (#869)

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/869
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
crystal 2026-08-08 11:21:33 +02:00 committed by Robert Wolff
parent a310584781
commit 3c0a989b46

View file

@ -221,6 +221,14 @@ After the first successful 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, and the `server` parameter should be set to `codeberg.page`. The [Forgejo Actions guide](/codeberg-pages/forgejo-actions/) includes example workflows and more information.
{% admonition "info" "Notice" %}
If you wish to deploy your site to multiple (sub)domains, you must add a webhook or deployment action (and the respective DNS setup) for each of them.
If you are using a custom domain, you do not need a `codeberg.page` webhook unless you also want your site to be available from the respective `codeberg.page` URL.
{% endadmonition %}
### Deploying to versions of your domain both with and without `www.`
If you would like to serve your website at versions with and without a `www.` prefix,