From 85adfdf06718d05acb2ae0e76912016b810ce999 Mon Sep 17 00:00:00 2001 From: Anson Date: Fri, 22 Aug 2025 23:30:27 -0600 Subject: [PATCH] fix: allow publish job to run on feature branch for testing - Make pages dependency optional to allow testing without pages deployment - Add rule to allow publish job on ghost-content-extraction branch - This enables testing the RSS feed parsing and error handling --- ghost-upload/.gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghost-upload/.gitlab-ci.yml b/ghost-upload/.gitlab-ci.yml index 3565437..6140914 100644 --- a/ghost-upload/.gitlab-ci.yml +++ b/ghost-upload/.gitlab-ci.yml @@ -5,6 +5,8 @@ publish: - cd ./ghost-upload - cargo run needs: - - pages + - job: pages + optional: true rules: - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" + - if: "$CI_COMMIT_BRANCH == 'ghost-content-extraction'" # Allow testing on this branch