From 4f6c56691c54f230b1830d97d0fa37889f284f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Fri, 5 Nov 2021 17:35:09 +0100 Subject: [PATCH] MAINT: update documentation with releases --- .gitlab-ci.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c9cd5b63..78c3cb04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -118,16 +118,14 @@ unittest: - tox # Build the sphinx documentation and make it ready for deployment by Gitlab Pages -# documentation: -# stage: deploy - # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages -pages: - stage: deploy - image: $CI_REGISTRY_IMAGE +pages_prepare: &pages_prepare tags: [docker] + image: $CI_REGISTRY_IMAGE + stage: deploy only: - - dev + refs: + - /^release-.*$/ script: - echo "Deploying" - make doc @@ -135,3 +133,9 @@ pages: artifacts: paths: - public +pages: + <<: *pages_prepare + only: + refs: + # version tags: v0.1.1 + - /^v(\d+\.\d+\.\d+)$/ -- GitLab