Skip to content
Snippets Groups Projects
Commit 552af11f authored by René Rösner's avatar René Rösner
Browse files

FEAT(planning#1067): Added git branch name export to pipeline

parent 4bdf11ab
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ build:
script:
- export NEXT_PUBLIC_BASE_PATH="" && [[ "$CI_COMMIT_REF_NAME" != "main" ]] && export NEXT_PUBLIC_BASE_PATH="/entwicklungsportal/$CI_COMMIT_REF_SLUG"
- echo $NEXT_PUBLIC_BASE_PATH
- export CURRENT_BRANCH=$CI_COMMIT_REF_NAME
- echo $CURRENT_BRANCH
- yarn export
artifacts:
paths:
......
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