You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
318 B

3 years ago
  1. pages:
  2. stage: deploy
  3. script:
  4. - mkdir .public
  5. - cp -r html/* .public
  6. - mv .public public
  7. artifacts:
  8. paths:
  9. - public
  10. rules:
  11. - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
  12. # template from https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml