ci: stage/promote/release workflows (two-forge pipeline) #4

Merged
chrnx merged 2 commits from feat/ci-publish-workflows into develop 2026-07-18 02:18:30 +00:00
Owner

Adds the three publish workflows. They trigger on main push / tags (not on this PR), so review the logic here before merge. See .specs/2026-07-17-cicd-two-forge-strategy.md. Pending secret: VERDACCIO_TOKEN (Gitea) before the first main promotion.

Adds the three publish workflows. They trigger on main push / tags (not on this PR), so review the logic here before merge. See .specs/2026-07-17-cicd-two-forge-strategy.md. Pending secret: VERDACCIO_TOKEN (Gitea) before the first main promotion.
chrnx added 1 commit 2026-07-18 01:43:47 +00:00
stage.yml (Gitea-only): publish package to Verdaccio under 'stg' tag on main merge. promote.yml (Gitea-only): mirror only main + version tags to GitHub. release.yml (GitHub-only): publish stable to npmjs on a v* tag. Forge is detected via github.server_url; secrets: VERDACCIO_TOKEN (Gitea), GH_PROMOTE_TOKEN (Gitea, set), NPM_TOKEN (GitHub, pending).

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx added 1 commit 2026-07-18 02:17:21 +00:00
One secret name across forges: Gitea's NPM_AUTH (org-level) = the Verdaccio token for staging; GitHub's NPM_AUTH = the npmjs token for production. Each forge supplies its own value.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx merged commit 8bd2a3f61c into develop 2026-07-18 02:18:30 +00:00
Sign in to join this conversation.