Commit a8b8d86b authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-before_script-example-fix' into 'master'

Docs: Correct CI YAML before_script example

See merge request gitlab-org/gitlab!71152
parents 4497e6ed f92a71c4
...@@ -747,9 +747,9 @@ Use `before_script` to define an array of commands that should run before each j ...@@ -747,9 +747,9 @@ Use `before_script` to define an array of commands that should run before each j
```yaml ```yaml
job: job:
before_script: before_script:
- echo "Execute this command before any `script:` commands." - echo "Execute this command before any 'script:' commands."
script: script:
- echo "This command executes after the job's `before_script` commands." - echo "This command executes after the job's 'before_script' commands."
``` ```
**Additional details**: **Additional details**:
......
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