Achilleas Pipinellis f6da695012 Update .gitlab-ci.yml | 3 years ago | |
---|---|---|
_includes | 7 years ago | |
_layouts | 8 years ago | |
_posts | 7 years ago | |
_sass | 8 years ago | |
css | 8 years ago | |
.gitattributes | 7 years ago | |
.gitignore | 4 years ago | |
.gitlab-ci.yml | 3 years ago | |
404.html | 4 years ago | |
Gemfile | 4 years ago | |
Gemfile.lock | 3 years ago | |
README.md | 4 years ago | |
_config.yml | 4 years ago | |
about.md | 4 years ago | |
feed.xml | 8 years ago | |
index.html | 8 years ago |
Example Jekyll website using GitLab Pages. View it live at https://pages.gitlab.io/jekyll
Learn more about GitLab Pages or read the the official GitLab Pages documentation.
Table of Contents generated with DocToc
You can get started with GitLab Pages using Jekyll easily by either forking this repository or by uploading a new/existing Jekyll project.
Remember you need to wait for your site to build before you will be able to see your changes. You can track the build on the Pipelines tab.
jekyll new
to create a new Jekyll Project..gitlab-ci.yml
to the root of your project.This project's static Pages are built by GitLab CI, following the steps
defined in .gitlab-ci.yml
:
image: ruby:latest
variables:
JEKYLL_ENV: production
pages:
script:
- bundle install
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master
To work locally with this project, you'll have to follow the steps below:
bundle
bundle exec jekyll serve
The above commands should be executed from the root directory of this project.
Read more at Jekyll's documentation.
To use this project as your user/group website, you will need one additional
step: just rename your project to namespace.gitlab.io
, where namespace
is
your username
or groupname
. This can be done by navigating to your
project's Settings.
Read more about user/group Pages and project Pages.
If you forked this project for your own use, please go to your project's Settings and remove the forking relationship, which won't be necessary unless you want to contribute back to the upstream project.