From f140ebf9eb48abce28f1bcb31f75b1e8e7a67f17 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:05:56 +0200 Subject: [PATCH] MAINT: update documentation only in main --- .gitlab-ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a97f9d93..9f8c1319 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,15 +93,12 @@ build-testenv: # 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: +pages_prepare: &pages_prepare + tags: [ cached-dind ] stage: deploy only: refs: - /^release-.*$/i - - main - variables: - # run pages only on gitlab.com - - $CI_SERVER_HOST == "gitlab.com" script: - echo "Deploying" - make doc @@ -109,3 +106,8 @@ pages: artifacts: paths: - public +pages: + <<: *pages_prepare + only: + refs: + - main -- GitLab