ci: switch mai-bot release to single-host build runner

This commit is contained in:
2026-05-11 01:09:13 +00:00
parent 7a54015f94
commit 02490c5fa1
2 changed files with 59 additions and 166 deletions

View File

@@ -19,13 +19,14 @@ Persistent files that stay on the server and do not go into Git:
Gitea workflow:
- .gitea/workflows/release-offline.yml
Suggested Gitea secrets:
- MAIBOT_RELEASE_HOST
- MAIBOT_RELEASE_USER
- MAIBOT_RELEASE_PORT
- MAIBOT_RELEASE_ROOT
- MAIBOT_RUNTIME_ROOT
- MAIBOT_SSH_KEY
- MAIBOT_GIT_REPO_URL (optional)
- MAIBOT_GITEA_USER (optional)
- MAIBOT_GITEA_TOKEN (optional)
Current pipeline mode:
- single-host release on the repo-level `build-host` runner
- clones from local Gitea HTTP on `127.0.0.1:3000`
- stages source into `/srv/maibot/releases/<commit>`
- activates it into `/root/maibot-offline`
Optional environment overrides for the workflow runtime:
- `MAIBOT_RELEASE_ROOT`
- `MAIBOT_RUNTIME_ROOT`
No repository secrets are required for the default same-host pipeline.