doc: actions/act-runner: document obtaining a runner registration token from gitea CLI (#27845)

This commit is contained in:
nodiscc 2023-10-30 23:28:02 +00:00 committed by GitHub
parent ec0c6829d4
commit a18ecaed61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,12 @@ If you cannot see the settings page, please make sure that you have the right pe
The format of the registration token is a random string `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`. The format of the registration token is a random string `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`.
A registration token can also be obtained from the gitea [command-line interface](../../../administration/command-line.en-us.md#actions-generate-runner-token):
```
gitea --config /etc/gitea/app.ini actions generate-runner-token
```
### Register the runner ### Register the runner
The act runner can be registered by running the following command: The act runner can be registered by running the following command: