diff --git a/README.md b/README.md index 0099621..fa34ecb 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,7 @@ Quick Reference [laoleng.vip](http://bbs.laoleng.vip/reference/) [liujiapeng.com](https://www.liujiapeng.com/) [dbyun.net](https://www.dbyun.net/reference/index.html) -[cyolc932.fun](https://cyolc932.fun/reference/) +[dc6.fun](https://dc6.fun/reference/) 如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 [docker](https://hub.docker.com/r/wcjiang/reference) 快捷部署 web 版。 diff --git a/docs/gitlab-ci.md b/docs/gitlab-ci.md index 7cf1baf..1ae6ecb 100644 --- a/docs/gitlab-ci.md +++ b/docs/gitlab-ci.md @@ -33,7 +33,7 @@ GitLab CI/CD 备忘清单 [workflow](#workflow) | 控制运行什么类型的管道 [#](https://docs.gitlab.com/ee/ci/yaml/#workflow) ### 关键字 - + 关键字 | 描述 :-- | -- @@ -69,11 +69,7 @@ GitLab CI/CD 备忘清单 [variables](#variables) | 在作业级别定义作业变量 [#](https://docs.gitlab.com/ee/ci/yaml/#variables) [when](#when) | 何时运行作业 [#](https://docs.gitlab.com/ee/ci/yaml/#when) -全局关键词 ---- - -### default - +### 全局关键词 - [after_script](#after_script) - [artifacts](#artifacts) @@ -87,7 +83,11 @@ GitLab CI/CD 备忘清单 - [timeout](#timeout) -示例 +全局关键词 +--- + +### default + ```yml default: @@ -105,22 +105,22 @@ rspec 2.7: ### include -在 `11.4` 中移至 `GitLab` 免费版,使用 `include` 将外部 `YAML` 文件包含在您的 `CI/CD` 配置中 - ```yml include: - local: '/temp/.gitlab-ci-template.yml' ``` +在 `11.4` 中移至 `GitLab` 免费版,使用 `include` 将外部 `YAML` 文件包含在您的 `CI/CD` 配置中 + ### include:local -使用 `include:local` 包含与 `.gitlab-ci.yml` 文件位于同一存储库中的文件 - ```yml include: - local: '/temp/.gitlab-ci-template.yml' ``` +使用 `include:local` 包含与 `.gitlab-ci.yml` 文件位于同一存储库中的文件 + ### include:project @@ -153,13 +153,13 @@ include: ### include:remote -使用带有完整 `URL` 的 `include:remote` 来包含来自不同位置的文件 - ```yml include: - remote: 'https://gitlab.com/example-project/-/raw/main/.gitlab-ci.yml' ``` +使用带有完整 `URL` 的 `include:remote` 来包含来自不同位置的文件 + ### include:template diff --git a/package.json b/package.json index 2a513e0..28667f2 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "husky": "^8.0.1", "lint-staged": "^13.0.3", "prettier": "^2.7.1", - "refs-cli": "^0.0.7" + "refs-cli": "^0.0.8" }, "engines": { "node": ">=16.0.0"