image: alpine:latest # GitHub Pages serves docs/ straight from the main branch; GitLab Pages needs it in public/. pages: stage: deploy script: - cp -r docs public artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH