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
|
- cd ./ghost-upload
|
||||||
- cargo run
|
- cargo run
|
||||||
needs:
|
needs:
|
||||||
- job: pages
|
- pages
|
||||||
optional: true
|
|
||||||
# Temporarily allow all branches for debugging
|
|
||||||
# rules:
|
|
||||||
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
|
||||||
|
|
||||||
# Manual trigger to force update all Ghost posts
|
# Manual trigger to force update all Ghost posts
|
||||||
force-update-ghost:
|
force-update-ghost:
|
||||||
@@ -25,9 +21,7 @@ force-update-ghost:
|
|||||||
- cd ./ghost-upload
|
- cd ./ghost-upload
|
||||||
- FORCE_UPDATE=true cargo run
|
- FORCE_UPDATE=true cargo run
|
||||||
needs:
|
needs:
|
||||||
- job: pages
|
- pages
|
||||||
optional: true
|
|
||||||
# Temporarily allow all branches for debugging
|
|
||||||
rules:
|
rules:
|
||||||
- when: manual
|
- when: manual
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
|
Reference in New Issue
Block a user