ci: switch mai-bot release to single-host build runner
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user