Skip to content

Commit d282f5d

Browse files
GiteaBotlunny
andauthored
Fix wrong relative path on obtain token from command line (#27850) (#27851)
Backport #27850 by @lunny Caused by #27845 Co-authored-by: Lunny Xiao <[email protected]>
1 parent f3f56d5 commit d282f5d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/content/usage/actions/act-runner.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If you cannot see the settings page, please make sure that you have the right pe
114114

115115
The format of the registration token is a random string `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`.
116116

117-
A registration token can also be obtained from the gitea [command-line interface](../../../administration/command-line.en-us.md#actions-generate-runner-token):
117+
A registration token can also be obtained from the gitea [command-line interface](../../administration/command-line.en-us.md#actions-generate-runner-token):
118118

119119
```
120120
gitea --config /etc/gitea/app.ini actions generate-runner-token

docs/content/usage/actions/act-runner.zh-cn.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ Runner级别决定了从哪里获取注册令牌。
113113

114114
注册令牌的格式是一个随机字符串 `D0gvfu2iHfUjNqCYVljVyRV14fISpJxxxxxxxxxx`
115115

116+
注册令牌也可以通过 Gitea 的 [命令行](../../administration/command-line.en-us.md#actions-generate-runner-token) 获得:
117+
116118
### 注册Runner
117119

118120
可以通过运行以下命令来注册Act Runner:

0 commit comments

Comments
 (0)