Skip to content
Snippets Groups Projects
Commit 864ecbe2 authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

Merge branch 'fix/multi-version-develop' into 'develop'

Fix: trigger if branch is develop

See merge request !6
parents b0e4faa5 aeac7fb7
No related branches found
No related tags found
3 merge requests!11Merging "develop" documentation into "main" to tag it as 2024Q2,!9Draft: Added documentation on primitives support feature and NSLCM status,!6Fix: trigger if branch is develop
Pipeline #4269 passed
......@@ -17,7 +17,7 @@ pages:
if [ -n "$CI_COMMIT_TAG" ]; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_TAG latest
mike set-default --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH latest
elif [ "$CI_COMMIT_REF_PROTECTED" == "true" ]; then
elif [ "$CI_COMMIT_REF_NAME" == "develop" ]; then
mike deploy --deploy-prefix public -r $HTTPS_REMOTE -p -b $PAGES_BRANCH -u $CI_COMMIT_BRANCH
fi
- git checkout $PAGES_BRANCH -- public/
......@@ -26,6 +26,6 @@ pages:
- public/
rules:
- if: '$CI_COMMIT_TAG'
- if: '$CI_COMMIT_REF_PROTECTED == "true"'
- if: '$CI_COMMIT_REF_NAME == "develop"'
when: always
- when: never
\ 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