publish: stage: deploy image: rust:latest script: - echo "Listing project root directory:" - ls -la - echo "Listing public directory:" - ls -la public/ || echo "public directory not found" - echo "Looking for index.xml:" - find . -name "index.xml" -type f || echo "No index.xml files found" - cd ./ghost-upload - cargo run needs: - pages rules: - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"