mirror of
https://gitlab.com/Anson-Projects/projects.git
synced 2025-09-14 09:35:04 +00:00
Fix GitLab Pages special behavior
- Rename main deployment job to 'deploy' (runs on all branches) - Keep 'pages' job for GitLab Pages (only runs on main branch) - Ghost-upload jobs now depend on 'deploy' instead of 'pages' - Fixes pipeline creation issues on feature branches
This commit is contained in:
@@ -10,7 +10,7 @@ publish:
|
||||
- cd ./ghost-upload
|
||||
- cargo run
|
||||
needs:
|
||||
- pages
|
||||
- deploy
|
||||
|
||||
# Manual trigger to force update all Ghost posts
|
||||
force-update-ghost:
|
||||
@@ -21,7 +21,7 @@ force-update-ghost:
|
||||
- cd ./ghost-upload
|
||||
- FORCE_UPDATE=true cargo run
|
||||
needs:
|
||||
- pages
|
||||
- deploy
|
||||
rules:
|
||||
- when: manual
|
||||
allow_failure: false
|
||||
|
Reference in New Issue
Block a user