Fail fast when wiki publish secrets are missing #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "initial-development"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run 164 cleared the build + Doxygen + doxybook2 steps and
then died with
fatal: unable to access 'https:///': URL rejected: No host part in the URL. Cause: the WIKI_URLsecret isn't configured on the repo, so the clone URL
expands to a host-less placeholder.
Add a precondition check that emits an
::error::linewith the exact secret names + the URL where to set them.
The job still fails, but with a message that points at the
fix instead of a misleading git error.
WIKI_URL and WIKI_PUSH_TOKEN have to be set on the
Forgejo repo's Secrets page before publish-docs can push
to the wiki. (Forgejo reserves the FORGEJO_, GITEA_, and
GITHUB_ prefixes for system use, so the secrets cannot
use them.)