1
0
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:
2025-08-21 23:37:44 -06:00
parent b70c57e23e
commit 52229040c6
2 changed files with 16 additions and 3 deletions

View File

@@ -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