From f3f56d570b69b4c46eeb48c0e0fc159068f0017b Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 31 Oct 2023 08:16:05 +0800 Subject: [PATCH] doc: actions/act-runner: document obtaining a runner registration token from gitea CLI (#27845) (#27848) --- docs/content/usage/actions/act-runner.en-us.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/usage/actions/act-runner.en-us.md b/docs/content/usage/actions/act-runner.en-us.md index e2915be36..1cb19e6bb 100644 --- a/docs/content/usage/actions/act-runner.en-us.md +++ b/docs/content/usage/actions/act-runner.en-us.md @@ -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`. +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 The act runner can be registered by running the following command: