mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-09-14 09:35:04 +00:00
Simplify CI dependencies - let all jobs run
- Remove complex optional dependencies - Pages job runs on all branches for debugging - Both publish and force-update jobs depend on pages normally
This commit is contained in:
@@ -10,11 +10,7 @@ publish:
|
||||
- cd ./ghost-upload
|
||||
- cargo run
|
||||
needs:
|
||||
- job: pages
|
||||
optional: true
|
||||
# Temporarily allow all branches for debugging
|
||||
# rules:
|
||||
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
- pages
|
||||
|
||||
# Manual trigger to force update all Ghost posts
|
||||
force-update-ghost:
|
||||
@@ -25,9 +21,7 @@ force-update-ghost:
|
||||
- cd ./ghost-upload
|
||||
- FORCE_UPDATE=true cargo run
|
||||
needs:
|
||||
- job: pages
|
||||
optional: true
|
||||
# Temporarily allow all branches for debugging
|
||||
- pages
|
||||
rules:
|
||||
- when: manual
|
||||
allow_failure: false
|
||||
|
Reference in New Issue
Block a user