Commit 6c6ebd9b authored by Shane Snyder's avatar Shane Snyder
Browse files

only build master branch on commit

CI_COMMIT_REF_NAME, *not* CI_MERGE_REQUEST_TARGET_BRANCH_NAME
parent 7dfbddce
...@@ -15,7 +15,7 @@ build_darshan: ...@@ -15,7 +15,7 @@ build_darshan:
when: always when: always
- if: '$CI_PIPELINE_SOURCE == "schedules"' - if: '$CI_PIPELINE_SOURCE == "schedules"'
when: always when: always
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' - if: '$CI_COMMIT_REF_NAME == "master"'
when: always when: always
stage: build stage: build
......
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