Skip to content
Snippets Groups Projects
Commit b24b8130 authored by Philippe Ruiz's avatar Philippe Ruiz
Browse files

update cicd for multiple doc tags

parent cb7c8f20
No related branches found
No related tags found
No related merge requests found
Pipeline #288346 failed
......@@ -12,14 +12,16 @@ build_docs:
image: python:3.8.10-slim
rules:
- if: "$CI_COMMIT_TAG == null"
- if: "$CI_COMMIT_TAG =~ /^(master|devel)$/"
when: always
variables: # Override IMAGE_LABEL defined
IMAGE_LABEL: "${CI_COMMIT_BRANCH}_${CI_COMMIT_SHORT_SHA}" # at the job level.
when: manual
- if: "$CI_COMMIT_TAG != null"
when: always
- if: "$CI_COMMIT_TAG =~ /^v2\.4\.3$/"
variables: # Override IMAGE_LABEL defined
IMAGE_LABEL: "$CI_COMMIT_TAG" # at the job level.
when: always
- when: manual
stage: build_docs
script:
......@@ -79,3 +81,5 @@ pages:
- public
only:
- master
- devel
- tags
......@@ -14,7 +14,7 @@ sys.path.insert(0, os.path.abspath('../'))
project = 'metagWGS'
copyright = '2024, Joanna Fourquet, Jean Mainguy, Maïna Vienne, Céline Noirot, Pierre Martin, et al..'
author = 'Joanna Fourquet, Jean Mainguy, Maïna Vienne, Céline Noirot, Pierre Martin, et al..'
release = 'v2.4.2'
release = 'v2.4.3'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
......@@ -51,6 +51,5 @@ html_static_path = ['_static']
# https://blog.stephane-robert.info/post/sphinx-documentation-multi-version/
smv_tag_whitelist = r'^v\d+\.\d$' # tags of form v*.*.x and latest
# Whitelist pattern for branches (set to '' to ignore all branches)
smv_branch_whitelist = r'^dev$'
smv_released_pattern = r'^tags/.*$'
smv_branch_whitelist = r'^(master|devel)$'
smv_remote_whitelist = r'^.*$'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment