Skip to content

Commit d056d77

Browse files
committed
wip(web): run the website jobs whenever BUILD_GL_PAGES is set
1 parent 19411a6 commit d056d77

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.gitlab-ci/web.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ build web:
4646
extends: .web hugo
4747
stage: test
4848
rules:
49+
# an explicit BUILD_GL_PAGES=true always builds, even with no web/** diff
50+
# (e.g. re-running a pipeline for an already-pushed commit)
51+
- if: $BUILD_GL_PAGES == "true"
4952
- changes:
5053
- web/**/*
5154
- .gitlab-ci/web.yml
@@ -65,6 +68,7 @@ pages:
6568
# gets <meta name="robots" content="noindex, nofollow">
6669
HUGO_PARAMS_noindex: "true"
6770
rules:
71+
- if: $CI_COMMIT_BRANCH == "wip-unified-stackgres-website" && $BUILD_GL_PAGES == "true"
6872
- if: $CI_COMMIT_BRANCH == "wip-unified-stackgres-website"
6973
changes:
7074
- web/**/*

0 commit comments

Comments
 (0)