Skip to content

Commit

Permalink
Fix rules for docs testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Taucher2003 committed Dec 19, 2023
1 parent f869141 commit 5c55e7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build:
- .build
stage: build
rules:
- if: $CI_COMMIT_BRANCH != "build-branch" && $CI_COMMIT_BRANCH != "glpa/main"
- if: ($CI_COMMIT_BRANCH != "build-branch" || $C0_TRIGGER_REF != "refs/heads/main") && $CI_COMMIT_BRANCH != "glpa/main"

pages:
extends:
Expand All @@ -23,4 +23,4 @@ pages:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == "build-branch" || $CI_COMMIT_BRANCH == "glpa/main"
- if: ($CI_COMMIT_BRANCH == "build-branch" && $C0_TRIGGER_REF == "refs/heads/main") || $CI_COMMIT_BRANCH == "glpa/main"
1 change: 1 addition & 0 deletions ci-template.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ docs:
stage: test
trigger:
project: code0-tech/telescopium
branch: build-branch
strategy: depend
variables:
C0_TRIGGER_PROJECT: $CI_PROJECT_NAME
Expand Down

0 comments on commit 5c55e7a

Please sign in to comment.