Add note about clearing git-ci-runner caches
All checks were successful
CI / build (push) Successful in 2m13s
All checks were successful
CI / build (push) Successful in 2m13s
This commit is contained in:
parent
1badc42a60
commit
c9cde808e2
1 changed files with 11 additions and 0 deletions
|
@ -18,3 +18,14 @@ Consequentially, don't use to build nix things that should stay secret (which is
|
|||
## Create Secret Token
|
||||
|
||||
To create a new token for registration, follow the steps outlined in the [Forgejo documentation](https://forgejo.org/docs/latest/user/actions/#forgejo-runner).
|
||||
|
||||
## Clear Runner Caches
|
||||
|
||||
Under some circumstances, runner caches need to be cleared. This can be done with:
|
||||
|
||||
```bash
|
||||
cd /var/lib/private/gitea-runner/
|
||||
systemctl stop --all gitea-runner-*
|
||||
rm -r */.cache/
|
||||
systemctl start --all gitea-runner-*
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue