hotfix:fix workflow
This commit is contained in:
@@ -8,7 +8,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package-and-deploy:
|
package-and-deploy:
|
||||||
runs-on: build-host
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare local worktree
|
- name: Prepare local worktree
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Gitea workflow:
|
|||||||
- .gitea/workflows/release-offline.yml
|
- .gitea/workflows/release-offline.yml
|
||||||
|
|
||||||
Current pipeline mode:
|
Current pipeline mode:
|
||||||
- single-host release on the repo-level `build-host` runner
|
- release on a runner that exposes the default `ubuntu-latest` label
|
||||||
- fetches the source commit from the workflow repository itself
|
- fetches the source commit from the workflow repository itself
|
||||||
- defaults to `${gitea.server_url}/${gitea.repository}.git`
|
- defaults to `${gitea.server_url}/${gitea.repository}.git`
|
||||||
- can override the clone URL with the repository variable `MAIBOT_REPO_URL`
|
- can override the clone URL with the repository variable `MAIBOT_REPO_URL`
|
||||||
@@ -39,6 +39,8 @@ Optional environment overrides for the workflow runtime:
|
|||||||
- `MAIBOT_BASE_IMAGE`
|
- `MAIBOT_BASE_IMAGE`
|
||||||
|
|
||||||
Runner connectivity note:
|
Runner connectivity note:
|
||||||
|
- the runner must advertise the `ubuntu-latest` label; this is part of the default Gitea runner label set unless you replaced it during registration
|
||||||
|
- if your production runner only has custom labels, either add `ubuntu-latest` back on the runner side or change the workflow label to your actual runner label
|
||||||
- if the runner cannot access `${gitea.server_url}` directly, set `MAIBOT_REPO_URL` to a runner-reachable HTTPS clone URL
|
- if the runner cannot access `${gitea.server_url}` directly, set `MAIBOT_REPO_URL` to a runner-reachable HTTPS clone URL
|
||||||
- for private repositories, the workflow uses the built-in `GITEA_TOKEN`, so no extra personal access token secret is needed
|
- for private repositories, the workflow uses the built-in `GITEA_TOKEN`, so no extra personal access token secret is needed
|
||||||
- the repository or owner Actions settings must allow the job token to read repository contents
|
- the repository or owner Actions settings must allow the job token to read repository contents
|
||||||
|
|||||||
Reference in New Issue
Block a user