add notice about multiple webhooks for pages custom domains

This commit is contained in:
crystal 2026-08-07 12:55:57 -06:00
parent 12c7b61d35
commit a5adbad5db
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

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,