From a9c7b2ebf9aba4adceb30b7ecb177dbc1f7a302d Mon Sep 17 00:00:00 2001 From: igna <9469673-fraudulent@users.noreply.gitlab.com> Date: Sun, 22 Aug 2021 07:16:50 +0000 Subject: [PATCH] Update .gitlab-ci.yml, style.css, index.html files --- .gitlab-ci.yml | 18 ++++++++++++------ public/index.html => index.html | 0 public/style.css => style.css | 0 3 files changed, 12 insertions(+), 6 deletions(-) rename public/index.html => index.html (100%) rename public/style.css => style.css (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 18d2bd5..106bbff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,18 @@ -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 * .public + - mv .public public artifacts: paths: - - public - expire_in: 1 day - only: - - master + - public + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH diff --git a/public/index.html b/index.html similarity index 100% rename from public/index.html rename to index.html diff --git a/public/style.css b/style.css similarity index 100% rename from public/style.css rename to style.css