Skip to content
Snippets Groups Projects
Unverified Commit 18791b05 authored by Richard Perry's avatar Richard Perry
Browse files

Updated Gemfile and config for latest version of Jekyll, and CI caching

parent b13227e2
No related branches found
No related tags found
No related merge requests found
# Template project: https://gitlab.com/pages/jekyll
# Docs: https://docs.gitlab.com/ce/pages/
image: ruby:2.3
 
# define the environment variables
variables:
JEKYLL_ENV: production
 
# 'bundle' all the required gems for the project
# Add bundle cache to 'vendor' & untracked files for speeding up builds
cache:
untracked: true
paths:
- vendor/
# 'Bundle' all the required gems for the project
before_script:
- bundle install
- bundle install --path vendor
 
# build and deploy the site
# Build and deploy the site
pages:
stage: deploy
environment:
name: "production"
url: "https://richard.perry-online.me.uk"
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
- public/
when: always
only:
- pages
- pages
\ No newline at end of file
source 'https://rubygems.org'
 
gem 'jekyll', '3.4.3'
gem 'jekyll'
gem 'jekyll-theme-perry'
gem 'flickraw'
gem 'jekyll-paginate'
Loading
Loading
Loading
Loading
@@ -22,7 +22,9 @@ exclude:
- 'Gemfile.lock'
- 'LICENSE.md'
- 'README.md'
- 'vendor'
 
# Gems/Plugins for site functionality
plugins:
- jemoji
- jekyll-seo-tag
Loading
Loading
@@ -60,6 +62,7 @@ disqus:
shortname: richardperry
 
# Outputting
incremental: true
permalink: /:categories/:title/
paginate: 10
paginate_path: "page/:num"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment