diff options
author | Sébastien <seb4stien@georget.name> | 2017-06-04 06:14:42 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-06-04 06:14:42 +0000 |
commit | 846b478d3c276765f8f1d5b9aa3a1222c198e030 (patch) | |
tree | 62cb274704ccf3d1d5cf6838c44e4ca1775e16d7 /doc | |
parent | 39340e428e3546d3749498ce10b19ae6cda0e646 (diff) | |
download | gitlab-ce-846b478d3c276765f8f1d5b9aa3a1222c198e030.tar.gz |
Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/variables/README.md | 2 | ||||
-rw-r--r-- | doc/ci/yaml/README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ci/variables/README.md b/doc/ci/variables/README.md index 76ad7c564a3..656e261dff8 100644 --- a/doc/ci/variables/README.md +++ b/doc/ci/variables/README.md @@ -122,7 +122,7 @@ global defined variables in your job, define an empty array: ```yaml job_name: - variables: [] + variables: {} ``` You are able to use other variables inside your variable definition (or escape them with `$$`): diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index fab5d14ac54..2c9aa437932 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -438,7 +438,7 @@ in your job, define an empty array: ```yaml job_name: - variables: [] + variables: {} ``` Job variables priority is defined in the [variables documentation][variables]. |