-for branch in devel master release; do curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/$branch/download?job=pages" -o $branch.zip; done# Download the documentation from devel, master and release branches
-unzip -o '*.zip' || true# Unzip downloaded documentation while ignoring not existing files
-unzip -uo '*.zip' || true# Unzip downloaded documentation while ignoring not existing files
-mkdir -p public/"$CI_COMMIT_BRANCH"# Create directory for docs for this branch if it doesn't exist
-cp -rf doc/sphinx/_build/html public/"$CI_COMMIT_BRANCH"# Copy docs to shared folder used by GitLab to publish Pages