summaryrefslogtreecommitdiffstats
path: root/docs/content/usage/actions
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-10-31 08:16:05 +0800
committerGitHub <noreply@github.com>2023-10-30 20:16:05 -0400
commitf3f56d570b69b4c46eeb48c0e0fc159068f0017b (patch)
treee92b04a114b3a69643cbd7c4fea4edd1b4bf5511 /docs/content/usage/actions
parent3c03b7db505816f646ee4b78473cc216f932a790 (diff)
downloadgitea-f3f56d570b69b4c46eeb48c0e0fc159068f0017b.tar.gz
gitea-f3f56d570b69b4c46eeb48c0e0fc159068f0017b.zip
doc: actions/act-runner: document obtaining a runner registration token from gitea CLI (#27845) (#27848)
Diffstat (limited to 'docs/content/usage/actions')
-rw-r--r--docs/content/usage/actions/act-runner.en-us.md6
1 files changed, 6 insertions, 0 deletions
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: