mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-09-14 09:35:04 +00:00
- 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
13 lines
296 B
YAML
13 lines
296 B
YAML
publish:
|
|
stage: deploy
|
|
image: rust:latest
|
|
script:
|
|
- cd ./ghost-upload
|
|
- cargo run
|
|
needs:
|
|
- job: pages
|
|
optional: true
|
|
rules:
|
|
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
|
- if: "$CI_COMMIT_BRANCH == 'ghost-content-extraction'" # Allow testing on this branch
|