Commit 34a89b7e authored by Evan Cohen's avatar Evan Cohen Committed by Marcel Amirault

Docs: fix syntax of rules array in example

parent 1a7d4e2c
...@@ -115,7 +115,7 @@ job1: ...@@ -115,7 +115,7 @@ job1:
script: script:
- echo This rule uses parentheses. - echo This rule uses parentheses.
rules: rules:
if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "develop") && $MY_VARIABLE - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH == "develop") && $MY_VARIABLE
``` ```
WARNING: WARNING:
......
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