Dennis Lee a946bd85d6 Use an updated version of ruby | 4 роки тому | |
---|---|---|
_includes | 7 роки тому | |
_layouts | 8 роки тому | |
_posts | 7 роки тому | |
_sass | 8 роки тому | |
css | 8 роки тому | |
.gitattributes | 7 роки тому | |
.gitignore | 4 роки тому | |
.gitlab-ci.yml | 4 роки тому | |
404.html | 4 роки тому | |
Gemfile | 4 роки тому | |
Gemfile.lock | 4 роки тому | |
README.md | 7 роки тому | |
_config.yml | 4 роки тому | |
about.md | 4 роки тому | |
feed.xml | 8 роки тому | |
index.html | 8 роки тому |
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:2.3
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.