Commit eab57b6e authored by mrodzis's avatar mrodzis 🌿
Browse files

ci: remove tracing

parent 82e37fdc
Pipeline #201232 passed with stages
in 2 minutes and 55 seconds
...@@ -12,16 +12,9 @@ curl --output old-artifact.zip --header "PRIVATE-TOKEN: $API_TOKEN" "https://git ...@@ -12,16 +12,9 @@ curl --output old-artifact.zip --header "PRIVATE-TOKEN: $API_TOKEN" "https://git
# add current data to artifact # add current data to artifact
unzip -u old-artifact.zip unzip -u old-artifact.zip
echo "test"
if [[ $CONTINUE_BUILD == "true" || ($CI_COMMIT_BRANCH != "main" && $CI_COMMIT_BRANCH != "develop") ]]; then if [[ $CONTINUE_BUILD == "true" || ($CI_COMMIT_BRANCH != "main" && $CI_COMMIT_BRANCH != "develop") ]]; then
echo "CONTINUE_BUILD is set to 'true'."
mkdir -p public/{${CI_COMMIT_SHORT_SHA},${CI_COMMIT_REF_SLUG}} mkdir -p public/{${CI_COMMIT_SHORT_SHA},${CI_COMMIT_REF_SLUG}}
echo public/${CI_COMMIT_SHORT_SHA} public/${CI_COMMIT_REF_SLUG} | xargs -n 1 cp --remove-destination --recursive ${dist_dir}/* echo public/${CI_COMMIT_SHORT_SHA} public/${CI_COMMIT_REF_SLUG} | xargs -n 1 cp --remove-destination --recursive ${dist_dir}/*
[ $? -eq 0 ] && exit 0 [ $? -eq 0 ] && exit 0
elif [[ $CONTINUE_BUILD == "false" ]]; then
echo "CONTINUE_BUILD is set to 'false'."
else
echo "CONTINUE_BUILD is unset"
fi fi
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