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

Tweaked gitlab-ci file for caching and artifacts

parent ed9d0467
No related branches found
No related tags found
No related merge requests found
# This file is a template, and might need editing before it works on your project.
# 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
 
# 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
pages:
stage: deploy
environment:
Loading
Loading
@@ -18,7 +26,8 @@ pages:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
- public/
when: always
only:
- pages
 
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