diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 802b9ed6d375a25785e3c0654ce130ec2f60304e..f786747d4499c4f4cac88ee017771c9abfcc1853 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,13 @@ -# Assumes ruby-dev, ruby-bundle, jq and LaTeX are installed in the runner. -# We do not use the Debian package for Jekyll because Buster has only 3.8.3 -# (while we want at least 3.8.4). +# Assumes the following is installed in the runner: +# - jekyll +# - ruby-jekyll-sitemap, ruby-jekyll-archives, ruby-jekyll-include-cache +# (plugins directly used by the site) +# - ruby-dev (for downloading the minimal-mistakes-jekyll theme, which is not +# in Debian) +# - ruby-jekyll-paginate, ruby-jekyll-feed, ruby-jekyll-gist (dependencies of +# the theme) +# - jq +# - imagemagick, LaTeX variables: GIT_SUBMODULE_STRATEGY: normal @@ -15,13 +22,12 @@ build: LANGUAGE: en_US.UTF-8 GEM_HOME: "$CI_PROJECT_DIR/.gem" before_script: - - gem install jekyll + - gem install minimal-mistakes-jekyll - (cd _data && wget --no-verbose --no-parent --accept '*.rdf' --recursive --no-directories --execute robots=off https://www.dynare.org/RePEc/cpm/dynare/ && ../assets/RePEc/rdf2yml.sh && rm -f *.rdf) - ./setup-download-links.sh - - bundle install script: - (cd assets/images/logo && make) - - bundle exec jekyll build + - jekyll build cache: key: ${CI_COMMIT_REF_SLUG} paths: diff --git a/Gemfile b/Gemfile deleted file mode 100644 index c2e8eb3ef5bda515600cf06d3a8137ffa476ec23..0000000000000000000000000000000000000000 --- a/Gemfile +++ /dev/null @@ -1,35 +0,0 @@ -source "https://rubygems.org" - -# Hello! This is where you manage which Jekyll version is used to run. -# When you want to use a different version, change it below, save the -# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: -# -# bundle exec jekyll serve -# -# This will help ensure the proper Jekyll version is running. -# Happy Jekylling! -gem "jekyll", "~> 3.8.4" - -# This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minimal-mistakes-jekyll" - -# If you want to use GitHub Pages, remove the "gem "jekyll"" above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. -# gem "github-pages", group: :jekyll_plugins - -# If you have any plugins, put them here! -group :jekyll_plugins do - gem "jekyll-feed", "~> 0.6" - gem "jekyll-archives" - gem "jekyll-sitemap" - gem "jekyll-include-cache" -end - -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] - -# Performance-booster for watching directories on Windows -gem "wdm", "~> 0.1.0" if Gem.win_platform? - -# Pin faraday to 0.17.3, otherwise there's a build error caused by version 4.14 of octokit -gem 'faraday', '0.17.3'