1 2 3 4 5 6 7 8 9 10 11 12 13
pages: stage: deploy environment: production script: - mkdir .public - cp -r ./doc/* .public - rm -rf public - mv .public public artifacts: paths: - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH