From 5d76088f2fc0aea429871ef6304bd0f6a5c706cc Mon Sep 17 00:00:00 2001 From: Sumner Date: Wed, 22 Dec 2021 23:57:43 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 091e157..63f5aa1 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 -- GitLab