Commit 846b478d authored by Sébastien's avatar Sébastien Committed by Grzegorz Bizon

Resolve "Documentation of `.gitlab-ci.yml` states incorrect example for variables"

parent 39340e42
......@@ -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 `$$`):
......
......@@ -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].
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment