Skip to content
Snippets Groups Projects
Commit b63eee6d authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Update .gitlab-ci.yml file

parent 6f879228
No related branches found
Tags v3.0.0
No related merge requests found
......@@ -9,5 +9,5 @@ trigger-root:
- if [ "$TARGET_BRANCH" = "main" ]; then TARGET_BRANCH="master"; fi
- 'curl --fail --request POST --form "variables[ADITO_COMMIT_MESSAGE]=$CI_COMMIT_MESSAGE" --form "token=$PUSH_TRIGGER_TOKEN" --form "ref=$TARGET_BRANCH" "https://gitlab.adito.de/api/v4/projects/676/trigger/pipeline"'
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_BRANCH =~ /^2024/ || $CI_COMMIT_BRANCH == CI_DEFAULT_BRANCH)'
- if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_BRANCH =~ /^2024/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH)'
when: on_success
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment