From a18ecaed61365ec8d6688631ab2febd211bd2fe0 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Mon, 30 Oct 2023 23:28:02 +0000 Subject: [PATCH] doc: actions/act-runner: document obtaining a runner registration token from gitea CLI (#27845) --- 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 e2915be365..1cb19e6bb0 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: