summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-10-31 11:36:22 +0800
committerGitHub <noreply@github.com>2023-10-31 11:36:22 +0800
commitd282f5dab886c5efc8242b4ad406c58cf458e24a (patch)
treef69a8efe1fc1af7f9e19fdc513c5e2377c0b6a26
parentf3f56d570b69b4c46eeb48c0e0fc159068f0017b (diff)
downloadgitea-d282f5dab886c5efc8242b4ad406c58cf458e24a.tar.gz
gitea-d282f5dab886c5efc8242b4ad406c58cf458e24a.zip
Fix wrong relative path on obtain token from command line (#27850) (#27851)
Backport #27850 by @lunny Caused by #27845 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r--docs/content/usage/actions/act-runner.en-us.md2
-rw-r--r--docs/content/usage/actions/act-runner.zh-cn.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/content/usage/actions/act-runner.en-us.md b/docs/content/usage/actions/act-runner.en-us.md
index 1cb19e6bb0..33813f5910 100644
--- a/docs/content/usage/actions/act-runner.en-us.md
+++ b/docs/content/usage/actions/act-runner.en-us.md
@@ -114,7 +114,7 @@ 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):
+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
diff --git a/docs/content/usage/actions/act-runner.zh-cn.md b/docs/content/usage/actions/act-runner.zh-cn.md
index f1404bf0b4..2b1912f5fd 100644
--- a/docs/content/usage/actions/act-runner.zh-cn.md
+++ b/docs/content/usage/actions/act-runner.zh-cn.md
@@ -113,6 +113,8 @@ Runner级别决定了从哪里获取注册令牌。
注册令牌的格式是一个随机字符串 `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`。
+注册令牌也可以通过 Gitea 的 [命令行](../../administration/command-line.en-us.md#actions-generate-runner-token) 获得:
+
### 注册Runner
可以通过运行以下命令来注册Act Runner: