doc: update README.md #102
This commit is contained in:
parent
449248c6e0
commit
386bea869f
@ -329,7 +329,7 @@ Quick Reference
|
|||||||
[laoleng.vip](http://bbs.laoleng.vip/reference/)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
[laoleng.vip](http://bbs.laoleng.vip/reference/)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
||||||
[liujiapeng.com](https://www.liujiapeng.com/)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
[liujiapeng.com](https://www.liujiapeng.com/)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
||||||
[dbyun.net](https://www.dbyun.net/reference/index.html)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
[dbyun.net](https://www.dbyun.net/reference/index.html)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
||||||
[cyolc932.fun](https://cyolc932.fun/reference/)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
[dc6.fun](https://dc6.fun/reference/)<!--rehype:target=_blank&style=background: rgb(16 185 129);height: 2.6rem;border-radius: 2rem;font-weight: bold;-->
|
||||||
<!--rehype:class=home-card&style=margin:2.2rem 0;display: flex;justify-content: center;gap: 1rem;flex-wrap: wrap;-->
|
<!--rehype:class=home-card&style=margin:2.2rem 0;display: flex;justify-content: center;gap: 1rem;flex-wrap: wrap;-->
|
||||||
|
|
||||||
如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 [docker](https://hub.docker.com/r/wcjiang/reference) 快捷部署 web 版。
|
如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 [docker](https://hub.docker.com/r/wcjiang/reference) 快捷部署 web 版。
|
||||||
|
@ -33,7 +33,7 @@ GitLab CI/CD 备忘清单
|
|||||||
[workflow](#workflow) | 控制运行什么类型的管道 [#](https://docs.gitlab.com/ee/ci/yaml/#workflow)
|
[workflow](#workflow) | 控制运行什么类型的管道 [#](https://docs.gitlab.com/ee/ci/yaml/#workflow)
|
||||||
|
|
||||||
### 关键字
|
### 关键字
|
||||||
<!--rehype:wrap-class=col-span-2-->
|
<!--rehype:wrap-class=col-span-2 row-span-2-->
|
||||||
|
|
||||||
关键字 | 描述
|
关键字 | 描述
|
||||||
:-- | --
|
:-- | --
|
||||||
@ -69,11 +69,7 @@ GitLab CI/CD 备忘清单
|
|||||||
[variables](#variables) | 在作业级别定义作业变量 [#](https://docs.gitlab.com/ee/ci/yaml/#variables)
|
[variables](#variables) | 在作业级别定义作业变量 [#](https://docs.gitlab.com/ee/ci/yaml/#variables)
|
||||||
[when](#when) | 何时运行作业 [#](https://docs.gitlab.com/ee/ci/yaml/#when)
|
[when](#when) | 何时运行作业 [#](https://docs.gitlab.com/ee/ci/yaml/#when)
|
||||||
|
|
||||||
全局关键词
|
### 全局关键词
|
||||||
---
|
|
||||||
|
|
||||||
### default
|
|
||||||
<!--rehype:wrap-class=row-span-3-->
|
|
||||||
|
|
||||||
- [after_script](#after_script)
|
- [after_script](#after_script)
|
||||||
- [artifacts](#artifacts)
|
- [artifacts](#artifacts)
|
||||||
@ -87,7 +83,11 @@ GitLab CI/CD 备忘清单
|
|||||||
- [timeout](#timeout)
|
- [timeout](#timeout)
|
||||||
<!--rehype:className=cols-3-->
|
<!--rehype:className=cols-3-->
|
||||||
|
|
||||||
示例
|
全局关键词
|
||||||
|
---
|
||||||
|
|
||||||
|
### default
|
||||||
|
<!--rehype:wrap-class=row-span-3-->
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
default:
|
default:
|
||||||
@ -105,22 +105,22 @@ rspec 2.7:
|
|||||||
|
|
||||||
### include
|
### include
|
||||||
|
|
||||||
在 `11.4` 中移至 `GitLab` 免费版,使用 `include` 将外部 `YAML` 文件包含在您的 `CI/CD` 配置中
|
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
include:
|
include:
|
||||||
- local: '/temp/.gitlab-ci-template.yml'
|
- local: '/temp/.gitlab-ci-template.yml'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
在 `11.4` 中移至 `GitLab` 免费版,使用 `include` 将外部 `YAML` 文件包含在您的 `CI/CD` 配置中
|
||||||
|
|
||||||
### include:local
|
### include:local
|
||||||
|
|
||||||
使用 `include:local` 包含与 `.gitlab-ci.yml` 文件位于同一存储库中的文件
|
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
include:
|
include:
|
||||||
- local: '/temp/.gitlab-ci-template.yml'
|
- local: '/temp/.gitlab-ci-template.yml'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
使用 `include:local` 包含与 `.gitlab-ci.yml` 文件位于同一存储库中的文件
|
||||||
|
|
||||||
### include:project
|
### include:project
|
||||||
<!--rehype:wrap-class=row-span-3-->
|
<!--rehype:wrap-class=row-span-3-->
|
||||||
|
|
||||||
@ -153,13 +153,13 @@ include:
|
|||||||
|
|
||||||
### include:remote
|
### include:remote
|
||||||
|
|
||||||
使用带有完整 `URL` 的 `include:remote` 来包含来自不同位置的文件
|
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
include:
|
include:
|
||||||
- remote: 'https://gitlab.com/example-project/-/raw/main/.gitlab-ci.yml'
|
- remote: 'https://gitlab.com/example-project/-/raw/main/.gitlab-ci.yml'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
使用带有完整 `URL` 的 `include:remote` 来包含来自不同位置的文件
|
||||||
|
|
||||||
### include:template
|
### include:template
|
||||||
<!--rehype:wrap-class=row-span-2-->
|
<!--rehype:wrap-class=row-span-2-->
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"husky": "^8.0.1",
|
"husky": "^8.0.1",
|
||||||
"lint-staged": "^13.0.3",
|
"lint-staged": "^13.0.3",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"refs-cli": "^0.0.7"
|
"refs-cli": "^0.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user