doc: update README.md #102

This commit is contained in:
jaywcjlove 2022-11-26 17:57:57 +08:00
parent 449248c6e0
commit 386bea869f
3 changed files with 15 additions and 15 deletions

View File

@ -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;-->
[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;-->
[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;-->
如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 [docker](https://hub.docker.com/r/wcjiang/reference) 快捷部署 web 版。

View File

@ -33,7 +33,7 @@ GitLab CI/CD 备忘清单
[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)
[when](#when) | 何时运行作业 [#](https://docs.gitlab.com/ee/ci/yaml/#when)
全局关键词
---
### default
<!--rehype:wrap-class=row-span-3-->
### 全局关键词
- [after_script](#after_script)
- [artifacts](#artifacts)
@ -87,7 +83,11 @@ GitLab CI/CD 备忘清单
- [timeout](#timeout)
<!--rehype:className=cols-3-->
示例
全局关键词
---
### default
<!--rehype:wrap-class=row-span-3-->
```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
<!--rehype:wrap-class=row-span-3-->
@ -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
<!--rehype:wrap-class=row-span-2-->

View File

@ -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"