Skip to content
Snippets Groups Projects
Commit 9738db2a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

account for visbility

parent ad4ecd54
No related branches found
No related tags found
1 merge request!63Conda package based CI
...@@ -20,14 +20,14 @@ done ...@@ -20,14 +20,14 @@ done
# Uploads docs for the last treated package # Uploads docs for the last treated package
run_cmd tar xfj "${f}" docs/${CI_PROJECT_NAME} run_cmd tar xfj "${f}" docs/${CI_PROJECT_NAME}
for folder in "${DOC_UPLOADS[@]}"; do for folder in "${DOC_UPLOADS[@]}"; do
dav_upload_folder docs/${CI_PROJECT_NAME} "${folder}" dav_upload_folder ${VISIBILITY}/docs/${CI_PROJECT_NAME} "${folder}"
done done
# Deletes all the old packages if in beta # Deletes all the old packages if in beta
if [ -z "${CI_COMMIT_TAG}" ]; then #beta if [ -z "${CI_COMMIT_TAG}" ]; then #beta
for urls in _ci/*/*/build_number.txt; do for urls in _ci/*/*/build_number.txt; do
for url in `tail -n +2 $urls`; do for url in `tail -n +2 $urls`; do
dav_delete "conda${url}" dav_delete "private/conda${url}"
done done
done done
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment