feat(ci): deploy-rc.yml — auto-deploy rc branch to the new RC environment #751
Reference in New Issue
Block a user
Delete Branch "feat/deploy-rc-workflow"
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?
Adds
custom/deploy-rc.yml— builds + deploys the release candidate to the new RC environment (rc.git.mokoconsulting.tech,mokogitea-rccontainer, port 3110, DBmokogitea_rc) on push to thercbranch (created bypromote-rcwhen a PR to main opens).Mirrors the fixed
deploy-dev.yml:${MOKOGITEA_RC_TAG}env-var driving the shared compose (nosed),rm -fbefore--force-recreate, quoted-heredoc remote expansion, health check + external verify.Context: the RC environment host infra is already stood up and live (DB seeded from dev, config, container healthy, nginx + Let's Encrypt HTTPS). This workflow makes it auto-deploy on RC promotion, giving a real pre-prod validation tier: dev → rc → prod.
Kept in
custom/(not synced) to test; to be moved to Template-Go as the canonical source (see MokoConsulting/Template-Go issue).https://claude.ai/code/session_01Wsno14cxE49MstXFs9G5KT