-
GitLab authored
Template repository: https://gitlab.com/pages/plain-html Commit SHA: 396503239588706482b3fc6e91009183271d46dd
GitLab authoredTemplate repository: https://gitlab.com/pages/plain-html Commit SHA: 396503239588706482b3fc6e91009183271d46dd
README.md 2.14 KiB
Example plain HTML site using GitLab Pages.
Learn more about GitLab Pages at https://pages.gitlab.io and the official documentation https://docs.gitlab.com/ce/user/project/pages/.
Table of Contents generated with DocToc
GitLab CI
This project's static Pages are built by GitLab CI, following the steps
defined in .gitlab-ci.yml
:
image: busybox
pages:
stage: deploy
script:
- echo 'Nothing to do...'
artifacts:
paths:
- public
expire_in: 1 day
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
The above example expects to put all your HTML files in the public/
directory.