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

This commit is contained in:
Giteabot 2023-10-31 08:16:05 +08:00 committed by GitHub
parent 3c03b7db50
commit f3f56d570b
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: