Verified Commit 3433e2c7 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

fix rules (2)

parent acd1d919
...@@ -6,7 +6,7 @@ convert: ...@@ -6,7 +6,7 @@ convert:
image: python image: python
stage: convert stage: convert
rules: rules:
- if: $CI_MERGE_REQUEST_ID && $CI_COMMIT_MESSAGE !~ "/Merge branch 'tmpBranch'/" && $CI_COMMIT_MESSAGE !~ "/Update models/" - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_COMMIT_MESSAGE !~ /tmpBranch/ && $CI_COMMIT_MESSAGE !~ /Update models/'
before_script: before_script:
- pip install casq - pip install casq
script: script:
...@@ -22,7 +22,7 @@ commit: ...@@ -22,7 +22,7 @@ commit:
entrypoint: [""] entrypoint: [""]
stage: deploy stage: deploy
rules: rules:
- if: $CI_MERGE_REQUEST_ID && $CI_COMMIT_MESSAGE !~ "/Merge branch 'tmpBranch'/" && $CI_COMMIT_MESSAGE !~ "/Update models/" - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_COMMIT_MESSAGE !~ /tmpBranch/ && $CI_COMMIT_MESSAGE !~ /Update models/'
before_script: before_script:
- env - env
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"` - url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
......
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