#!/usr/bin/env bash
# Wed 21 Sep 2016 13:08:05 CEST

source $(dirname ${0})/functions.sh

set_conda_channels ${VISIBILITY} ${CI_COMMIT_TAG}
deploy_conda_packages ${CONDA_CHANNELS[0]} ${CI_PROJECT_NAME}

# 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