Commit 964b5e46 authored by Alan Cohen's avatar Alan Cohen

Correct mistake in workflow:rules example

parent defd7958
...@@ -322,7 +322,7 @@ pipelines and merge request pipelines don't run, as there's no rule allowing the ...@@ -322,7 +322,7 @@ pipelines and merge request pipelines don't run, as there's no rule allowing the
```yaml ```yaml
workflow: workflow:
rules: rules:
- if: $CI_COMMIT_REF_NAME =~ /-wip$/ - if: $CI_COMMIT_MESSAGE =~ /-wip$/
when: never when: never
- if: '$CI_PIPELINE_SOURCE == "push"' - if: '$CI_PIPELINE_SOURCE == "push"'
``` ```
......
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