From 5e0890ce726771e0e59e1452cfc9f323cc8e04c5 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Sun, 24 Sep 2017 21:24:48 +0200 Subject: [PATCH] No need to check if sphinx folder exists --- gitlab/deploy.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gitlab/deploy.sh b/gitlab/deploy.sh index 81c6ab6..8e85d74 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 -- GitLab