From d7a386a94c30851835354161545f49d72517f9c4 Mon Sep 17 00:00:00 2001 From: Arjo Segers Date: Wed, 26 Mar 2025 17:02:53 +0100 Subject: [PATCH] Restricted generation of documenation to master branch. --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 555aacd..7f0f2e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,9 @@ stages: pages: stage: deploy-pages + rules: + - if: '$CI_COMMIT_BRANCH == "master"' + when: always script: - cd doc - make html -- GitLab