Commit 50f840b1 authored by Richard Perry's avatar Richard Perry
Browse files

Update .gitlab-ci.yml

parent 21bd41a5
Pipeline #7653395 passed with stage
in 5 minutes and 11 seconds
# 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 image: ruby:2.3
   
# define the environment variables
variables: variables:
JEKYLL_ENV: production JEKYLL_ENV: production
   
# 'bundle' all the required gems for the project
before_script: before_script:
- bundle install - bundle install
test: test:
stage: test stage: test
environment: staging script: "bundle exec jekyll build -d test/"
script:
- bundle exec jekyll build -d test/
artifacts: artifacts:
paths: paths:
- test - test
only: except:
- pages - pages
# build and deploy the site
pages: pages:
stage: deploy stage: deploy
environment: production environment:
script: name: "production"
- bundle exec jekyll build -d public/ url: "https://travel.perry-online.me.uk"
script: "bundle exec jekyll build -d public/"
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- pages - pages
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment