Skip to content
Snippets Groups Projects
Commit 541ea11a authored by Mathias Goebel's avatar Mathias Goebel :reminder_ribbon:
Browse files

fix: cp for main only

parent c806caa8
No related branches found
No related tags found
1 merge request!30feat: add env variables for URLs
Pipeline #214581 passed
...@@ -20,6 +20,8 @@ unzip -u old-artifact.zip ...@@ -20,6 +20,8 @@ unzip -u old-artifact.zip
# https://subugoe.pages.gwdg.de/ahiqar/website/${CI_COMMIT_REF_SLUG}/. # https://subugoe.pages.gwdg.de/ahiqar/website/${CI_COMMIT_REF_SLUG}/.
# this has to be considered in the directory structure. # this has to be considered in the directory structure.
cp --recursive public/main/* public/ if [[ ${CI_COMMIT_REF_SLUG} == "main" ]]; then
cp --recursive public/main/* public/
fi
[ $? -eq 0 ] && exit 0 # [ $? -eq 0 ] && exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment