mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-09-14 01:25:02 +00:00
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
This commit is contained in:
@@ -5,6 +5,8 @@ publish:
|
|||||||
- cd ./ghost-upload
|
- cd ./ghost-upload
|
||||||
- cargo run
|
- cargo run
|
||||||
needs:
|
needs:
|
||||||
- pages
|
- job: pages
|
||||||
|
optional: true
|
||||||
rules:
|
rules:
|
||||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||||
|
- if: "$CI_COMMIT_BRANCH == 'ghost-content-extraction'" # Allow testing on this branch
|
||||||
|
Reference in New Issue
Block a user