From 2bf70978b8298f1a7479809565f7f5e56aa4356a 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:07:43 +0200 Subject: [PATCH] MAINT: update documentation only in main --- .gitlab-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4eb7794a..6817020f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -102,18 +102,13 @@ build-testenv: # stage: deploy # 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: refs: - /^release-.*$/i - - master - variables: - # run pages only on gitlab.com - - $CI_SERVER_HOST == "gitlab.com" script: - # TODO is this a good location here? - npm install jsdoc - npm install jsdoc-sphinx - echo "Deploying" @@ -122,3 +117,8 @@ pages: artifacts: paths: - public +pages: + <<: *pages_prepare + only: + refs: + - main -- GitLab