feat(staging): auto-refresh staging on every push to master #46
No reviewers
Labels
No labels
bug
claude-failed
claude-pr
claude-queue
claude-working
feature
interactive
portal
triaged
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: shad0w/pelagia-portal#46
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/staging-auto-refresh"
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?
Staging now tracks master automatically.
.forgejo/workflows/staging.ymlruns on every push to master (every merged PR) on the host runner, rebuildingppms-staging(port 3200) to the latest master viastaging-up.sh. Concurrency-coalesced (newest master wins); alsoworkflow_dispatchfor on-demand runs.staging-up.sh: drop--update-envand unsetFORGEJO_*so the runner's ephemeral token can't leak into the staging process (same class of bug as the prod deploy fix in #43).Staging runs
pnpm dev, so "rebuild" = checkout latest + restart (the dev server recompiles) — no full prod build. Automation/CI only.Note: this self-activates on the first master push after it merges.