Skip to content
Snippets Groups Projects
Commit a5bf0b4f authored by Jan Habscheid's avatar Jan Habscheid
Browse files

Use Static pages for deployment

parent df26ea90
Branches
Tags
1 merge request!6Documentation
# 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
image: busybox
pages:
stage: deploy
environment: production
tags:
- docker
script:
- echo "The site will be deployed to $CI_PAGES_URL"
- mv docs/build public # Move the build output to the "public" directory
artifacts:
paths:
- 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