ci: use parentheses for the rules:if statement

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/818>
This commit is contained in:
Jordan Petridis 2021-07-02 16:33:30 +03:00
parent c30ea09e4c
commit 6275b4ba70

View file

@ -33,7 +33,7 @@ variables:
# the name is used in the URL # the name is used in the URL
# latest release must be at the top # latest release must be at the top
# (only relevant on master branch) # (only relevant on master branch)
NAMESPACE: GStreamer NAMESPACE: 'GStreamer'
RELEASES: RELEASES:
0.17=0.17 0.17=0.17
0.16=0.16 0.16=0.16
@ -499,5 +499,5 @@ pages:
paths: paths:
- 'public' - 'public'
rules: rules:
- if: $CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH && $CI_PROJECT_NAMESPACE == $NAMESPACE - if: ($CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH) && ($CI_PROJECT_NAMESPACE == $NAMESPACE)
when: 'manual' when: 'manual'