diff --git a/ghost-upload/.gitlab-ci.yml b/ghost-upload/.gitlab-ci.yml index 4994e73..1271483 100644 --- a/ghost-upload/.gitlab-ci.yml +++ b/ghost-upload/.gitlab-ci.yml @@ -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