Add Forgejo Action to publish FenLiu docs to grebedoc.dev #67
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The FenLiu documentation is currently only published to Codeberg Pages via the Woodpecker CI pipeline (
.woodpecker/fenliu-docs.yml). There is no CI path to publish it to the new canonical docs domain athttps://fenliu.marvin.zone, which is hosted by grebedoc.dev.Proposed fix
.forgejo/workflows/fenliu-docs.ymlthat triggers onfenliu-*tags.uv run mkdocs build(plain, unversioned — grebedoc serves the latest).site/directory is packed into a.tar.gzarchive and uploaded tohttps://fenliu.marvin.zone/via the grebedoc HTTP archive API (PUTwithContent-Type: application/x-tar+gzipandAuthorization: Pages $TOKEN).mkdocs.ymlsite_urlfrom the Codeberg Pages URL tohttps://fenliu.marvin.zone/.DNS setup (user action)
Marvin8 will add the DNS records required by grebedoc's Method B challenge authentication and the
GREBEDOC_FENLIU_TOKENsecret in Codeberg.Plan
Checking the
wumingproject as a template for the grebedoc deployment step, then will finalize the workflow.Key files:
.forgejo/workflows/fenliu-docs.yml(new)packages/fenliu/mkdocs.yml(updatesite_url)Commits planned:
:construction_worker:add Forgejo Action to publish fenliu docs to grebedoc:memo:update mkdocs site_url to fenliu.marvin.zone