publish: stage: deploy image: rust:latest script: - cd ./ghost-upload - cargo run needs: - job: pages optional: true rules: - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" - if: "$CI_COMMIT_BRANCH == 'ghost-content-extraction'" # Allow testing on this branch