Skip to content
Snippets Groups Projects
Commit e4578553 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

Update .gitlab-ci.yml

parent d2d7b295
Branches
No related tags found
1 merge request!1Update .gitlab-ci.yml
Pipeline #32628 failed
# 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: pages:
stage: deploy stage: deploy
environment: production
script: script:
- mkdir .public - echo "The site will be deployed to $CI_PAGES_URL"
- cp -r ./* .public
- rm -rf public
- mv .public public
artifacts: artifacts:
paths: paths:
- public - public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment