diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 091e157f09d82bf7a138843ce8bb788f7ea6cdfb..63f5aa122e51aaefdce2fdd54dd76b741dd91c51 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,11 @@ -image: alpine:latest -# This file is a template, and might need editing before it works on your project. -# To contribute improvements to CI/CD templates, please follow the Development guide at: -# https://docs.gitlab.com/ee/development/cicd/templates.html -# This specific template is located at: -# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml - -# Full project: https://gitlab.com/pages/plain-html - - pages: stage: deploy script: - - echo 'Nothing to do...' + - mkdir .public + - cp -r html/lrng/* .public + - mv .public public artifacts: paths: - - html/lrng - rules: - - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH + - public + only: + - master