]> source.dussan.org Git - gitea.git/commitdiff
Fix an indentation in the Chinese documentation of Act Runner (#27730)
authorHoshinoRei <81515470+HoshinoRei@users.noreply.github.com>
Sun, 22 Oct 2023 11:37:56 +0000 (19:37 +0800)
committerGitHub <noreply@github.com>
Sun, 22 Oct 2023 11:37:56 +0000 (19:37 +0800)
In the [English
document](https://docs.gitea.com/1.21/usage/actions/act-runner#configuring-cache-when-starting-a-runner-using-docker-image),
there is indentation here, but there is no indentation in the Chinese
document.

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

index f1404bf0b4db46029ed8b815e621919e275cae24..11b69960f78af0bbd7578820fdfd1a82568aede0 100644 (file)
@@ -208,12 +208,12 @@ services:
 
 ```yaml
 cache:
-enabled: true
-dir: ""
-# 使用步骤 1. 获取的 LAN IP
-host: "192.168.8.17"
-# 使用步骤 2. 获取的端口号
-port: 8088
+  enabled: true
+  dir: ""
+  # 使用步骤 1. 获取的 LAN IP
+  host: "192.168.8.17"
+  # 使用步骤 2. 获取的端口号
+  port: 8088
 ```
 
 - 4.启动容器时, 将 Cache 端口映射至主机。