diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index 81c6ab63d415c7cd62f1f909ee25ae12ac42a24a..8e85d74ac28beee5961231d6d928caca43005b3a 100755 --- a/gitlab/deploy.sh +++ b/gitlab/deploy.sh @@ -17,12 +17,11 @@ for os in "osx-64" "noarch" "linux-64"; do done done -# if the sphinx folder exists (usually for Linux Python 3.6), upload the docs. -if [[ -e sphinx ]]; then - for folder in "${DOC_UPLOADS[@]}"; do - dav_upload_folder sphinx "${folder}" - done -fi +# upload the docs from the sphinx folder (usually an artifact of Linux Python +# 3.6 builds) +for folder in "${DOC_UPLOADS[@]}"; do + dav_upload_folder sphinx "${folder}" +done # Deletes all the old packages if in beta if [ -z "${CI_COMMIT_TAG}" ]; then #beta