From 8dbce808255d3a5aca603685b6e2a9e78d0a7873 Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Tue, 16 Jul 2024 16:15:15 +0200 Subject: [PATCH] Remove `pages` deploy task from scheduled pipelines --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ddc8e8ed6..1778561a7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,11 @@ stages: rules: - if: $CI_PIPELINE_SOURCE != "schedule" +# Configuration for jobs meant to run on each commit to pycodegen/pystencils/master +.every-commit-master: + rules: + - if: '$CI_PIPELINE_SOURCE != "schedule" && $CI_PROJECT_PATH == "pycodegen/pystencils" && $CI_COMMIT_BRANCH == "master"' + # Base configuration for jobs meant to run at a schedule .scheduled: rules: @@ -341,7 +346,7 @@ build-documentation: pages: image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full - # extends: .every-commit + extends: .every-commit-master stage: deploy needs: ["tests-and-coverage", "build-documentation"] script: @@ -353,5 +358,3 @@ pages: - public tags: - docker - only: - - master@pycodegen/pystencils -- GitLab