Skip to content
Snippets Groups Projects
Unverified Commit dfff2ea6 authored by Alexander Grund's avatar Alexander Grund
Browse files
parent 611b5ae4
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!84Adapt CI scripts for preview branch
......@@ -34,9 +34,9 @@ fi
echo "mlc: $mlc"
branch="${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-}"
if [ -z "$branch" ]; then
branch="preview"
branch="preview"
if [ -n "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
branch="origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME"
fi
any_fails=false
......
......@@ -2,9 +2,9 @@
set -euo pipefail
branch="${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-}"
if [ -z "$branch" ]; then
branch="preview"
branch="preview"
if [ -n "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
branch="origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME"
fi
any_fails=false
......
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