Template
Own the MokoGitea deploy workflows (dev/rc/prod) as canonical synced source #3
Reference in New Issue
Block a user
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?
Move the MokoGitea server deploy workflows into Template-Go so they're the canonical, version-controlled source that syncs to the Go server repo(s), instead of being hand-maintained in the fork's
custom/(where they're safe from sync overwrite but also not shared/tracked centrally).Workflows to own
Currently in
MokoConsulting/MokoGitea-Fork/.mokogitea/workflows/custom/:deploy-dev.yml— build+deploy on push todev→mokogitea-dev(port 3090, DBmokogitea_dev), git.dev.mokoconsulting.techdeploy-rc.yml(new, MokoGitea-Fork#751) — build+deploy on push torc→mokogitea-rc(port 3110, DBmokogitea_rc), rc.git.mokoconsulting.techdeploy-mokogitea.yml— production deploy →mokogitea(DBmokogitea), git.mokoconsulting.techPipeline they implement
dev(continuous, on push) →rc(on promote-rc / PR-to-main) →prod(stable). The prod gate should require RC healthy (not dev). Channels: stable > release-candidate > … > development.Notes
${MOKOGITEA_*_TAG}env-var driving the shared compose (nosed),docker rm -fbefore--force-recreate, quoted-heredoc remote expansion, health check + external verify.custom/copies should be removed so the synced versions win (avoid two sources of truth).mokogitea*across prod/dev/rc; RC environment stood up with Let's Encrypt.Related: MokoGitea-Fork#751 (deploy-rc), Template-Generic#71 (release-notes workflow work).
https://claude.ai/code/session_01Wsno14cxE49MstXFs9G5KT