From b5a4b33b5639c2d127cfdb4d99ea2d5b28ddf0ba Mon Sep 17 00:00:00 2001 From: Anson Date: Thu, 21 Aug 2025 23:34:19 -0600 Subject: [PATCH] Temporarily disable branch restrictions for debugging - Allow CI jobs to run on feature branches - Enable testing of dual-output and force-update functionality - Comment out CI_DEFAULT_BRANCH rules --- .gitlab-ci.yml | 5 +++-- ghost-upload/.gitlab-ci.yml | 13 +++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6da0a63..24aa9d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,8 +31,9 @@ pages: artifacts: paths: - public - rules: - - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" + # Temporarily allow all branches for debugging + # rules: + # - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" include: - local: ghost-upload/.gitlab-ci.yml diff --git a/ghost-upload/.gitlab-ci.yml b/ghost-upload/.gitlab-ci.yml index d25b2f6..507340f 100644 --- a/ghost-upload/.gitlab-ci.yml +++ b/ghost-upload/.gitlab-ci.yml @@ -11,8 +11,9 @@ publish: - cargo run needs: - pages - rules: - - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" + # Temporarily allow all branches for debugging + # rules: + # - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" # Manual trigger to force update all Ghost posts force-update-ghost: @@ -24,9 +25,13 @@ force-update-ghost: - FORCE_UPDATE=true cargo run needs: - pages + # Temporarily allow all branches for debugging rules: - - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" - when: manual + - when: manual allow_failure: false + # rules: + # - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" + # when: manual + # allow_failure: false variables: FORCE_UPDATE: "true"