From c00d30749fd39295dd4207ce3b6a791fd7005c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Thu, 3 Jun 2021 12:10:25 +0200 Subject: [PATCH] MAINT: update documentation only in main --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8526147..3d5b23f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,11 +68,12 @@ test: # Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages -pages: - tags: [ docker ] +pages_prepare: &pages_prepare + tags: [ cached-dind ] stage: deploy only: - - web + refs: + - /^release-.*$/i script: - mkdir -p build - cd build @@ -82,3 +83,8 @@ pages: artifacts: paths: - public +pages: + <<: *pages_prepare + only: + refs: + - main -- GitLab