excavations-website/.gitlab-ci.yml
Dennis Lee a946bd85d6 Use an updated version of ruby
With this configuration, it always uses an updated version of ruby and bundler
is the one which manages version of the dependencies, hence working in all
environments. Before, dependencies could not be satisfied in updated
environments because of bundler being too new.
2020-01-08 20:23:47 +00:00

30 lines
386 B
YAML

image: ruby:latest
variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8
before_script:
- gem install bundler
- bundle install
test:
stage: test
script:
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master