From e4578553bc8130a017dfa40f7fc7dbd2699803e5 Mon Sep 17 00:00:00 2001 From: Neil Gershenfeld <neil.gershenfeld@cba.mit.edu> Date: Sun, 17 Dec 2023 20:10:40 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd00d09..a505634 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,7 @@ -# 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 - environment: production script: - - mkdir .public - - cp -r ./* .public - - rm -rf public - - mv .public public + - echo "The site will be deployed to $CI_PAGES_URL" artifacts: paths: - public - rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH -- GitLab