Commit cfba5117 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'update-rules-docs' into 'master'

Specify workflow:rules and job:rules in docs

See merge request gitlab-org/gitlab!56643
parents b6f8744d 4c56ca32
...@@ -2325,8 +2325,8 @@ The valid values of `when` are: ...@@ -2325,8 +2325,8 @@ The valid values of `when` are:
1. `delayed` - [Delay the execution of a job](#whendelayed) for a specified duration. 1. `delayed` - [Delay the execution of a job](#whendelayed) for a specified duration.
Added in GitLab 11.14. Added in GitLab 11.14.
1. `never`: 1. `never`:
- With [`rules`](#rules), don't execute job. - With job [`rules`](#rules), don't execute job.
- With [`workflow`](#workflow), don't run pipeline. - With [`workflow:rules`](#workflow), don't run pipeline.
In the following example, the script: In the following example, the script:
......
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