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

trigger if branch is develop

parent b52ddc44
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
......@@ -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