From 8ee364b2f71ae372769997377a3b6d0ad1e9036b Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Thu, 23 Jun 2022 09:52:25 +0200 Subject: [PATCH] ci: slim down scheduled pipelines --- .gitlab-ci.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e74ad29..9baafe4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,6 +40,15 @@ build: artifacts: paths: - www + except: + - schedules + +scheduled-build: + stage: build + script: + - npm run build + only: + - schedules lint: stage: build @@ -144,6 +153,8 @@ pages: - mv docs public only: - master + except: + - schedules artifacts: paths: - public @@ -188,7 +199,9 @@ staging: name: staging url: https://$CI_PROJECT_PATH_SLUG-staging.surge.sh/ only: - - develop + - develop + except: + - schedules tags: - secrecy @@ -202,6 +215,8 @@ production_demo: name: production url: https://$CI_PROJECT_PATH_SLUG.surge.sh/ only: - - master + - master + except: + - schedules tags: - secrecy