Let a manual run deploy (and cut production over to the C server) #2

Merged
brian merged 1 commit from test into main 2026-10-02 05:16:41 +00:00
Owner

Lets a manual workflow run deploy, not just a push.

Why the last merge did nothing: main was created at the same commit as test, so the code was already on main without having been deployed. PR #1 only added a CLAUDE.md change, and the workflow ignores Markdown-only pushes (paths-ignore). The manual run couldn't fill the gap either, because the deploy job only ran on pushes.

This PR changes .forgejo/workflows/deploy.yml, so merging it runs the full pipeline on main: production (journal stack) switches from the Python server to the C server. It has already been deployed to journal-test by the push to test.

After merging:

  • Production should no longer send server: uvicorn, and /openapi.json returns 404.
  • Stop deploying from the Python Journal repo. Both push journal:latest / journal-agent:latest.
  • Rollback: push to the Python repo's main. The schema is unchanged, so it picks up the same data.

🤖 Generated with Claude Code

Lets a manual workflow run deploy, not just a push. **Why the last merge did nothing:** `main` was created at the same commit as `test`, so the code was already on `main` without having been deployed. PR #1 only added a `CLAUDE.md` change, and the workflow ignores Markdown-only pushes (`paths-ignore`). The manual run couldn't fill the gap either, because the deploy job only ran on pushes. This PR changes `.forgejo/workflows/deploy.yml`, so **merging it runs the full pipeline on `main`: production (`journal` stack) switches from the Python server to the C server.** It has already been deployed to journal-test by the push to `test`. After merging: - Production should no longer send `server: uvicorn`, and `/openapi.json` returns 404. - Stop deploying from the Python Journal repo. Both push `journal:latest` / `journal-agent:latest`. - Rollback: push to the Python repo's `main`. The schema is unchanged, so it picks up the same data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Let a manual workflow run deploy, not just a push
All checks were successful
Build and Deploy / test (push) Successful in 21s
Build and Deploy / build (Dockerfile.agent, journal-agent) (push) Successful in 9s
Build and Deploy / build (Dockerfile, journal) (push) Successful in 9s
Build and Deploy / deploy (push) Successful in 5s
7f6bbaf20c
A merge that only changes Markdown runs nothing, so the first PR into main never deployed, and the manual run could build but not deploy. It now deploys too, from test or main only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
brian merged commit 3fb087b143 into main 2026-10-02 05:16:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
brian/Journal-c!2
No description provided.