Commit 1ea34b00 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Resolve "Update to most recent version of LCSB's gitlab-pages"

parent 2e9f9132
image: ruby:2.5
# In case something goes horribly wrong, you can fall back to `image: ruby:latest`
image: git-r3lab.uni.lu:4567/r3/docker/jekyll-lcsb:1.0
variables:
build the website:
stage: build
before_script:
- gem install bundler -v2.0.2
- bundle install && bundle update jekyll-theme-lcsb-default && bundle update jekyll-theme-lcsb-frozen-components
script:
- 'echo "baseurl: /$CI_PROJECT_NAME" >> _config_ci.yml'
- 'echo "url: https://$CI_PROJECT_NAMESPACE.$CI_PAGES_DOMAIN" >> _config_ci.yml'
- bundle exec jekyll build -d build --config "_config.yml,_config_ci.yml"
- 'echo $CI_COMMIT_SHA > build/version'
artifacts:
expire_in: 3 days
paths:
- build
variables:
JEKYLL_ENV: production
before_script:
- bundle install && bundle update
#test:
# stage: test
# script:
# - bundle exec jekyll build -d test
# artifacts:
# paths:
# - test
# except:
# - master
pages:
stage: deploy
only:
- master
script:
- bundle exec jekyll build -d public
- mv build public
- echo "Your website is available at $CI_PAGES_URL"
artifacts:
expire_in: 1 week
paths:
- public
# only:
# - master
source "https://rubygems.org"
gem "jekyll", "~> 3.8.5"
gem "bundler", "> 1.16.1"
# 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
#
gem "jekyll", "~> 4.0"
gem "bundler", "> 2.0"
gem "minima",
"~> 2.0"
gem "minima", "~> 2.5"
gem 'jekyll-theme-lcsb-default', '~> 0.3'
gem 'jekyll-theme-primer',
'~> 0.5.2'
gem 'jekyll-theme-lcsb-default',
'~> 0.2.21',
:git => "https://git-r3lab.uni.lu/core-services/jekyll-theme-lcsb-default.git",
:branch => "master"
gem 'jekyll-theme-lcsb-frozen-components',
'~> 0.0.1',
:git => "https://git-r3lab.uni.lu/core-services/jekyll-theme-lcsb-frozen-components.git",
:branch => "master"
# 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-paginate-v2",
"~> 1.7"
"~> 2",
:git => "https://github.com/sverrirs/jekyll-paginate-v2.git"
gem "jekyll-feed",
"~> 0.6"
gem 'jekyll-theme-lcsb-frozen-components',
'~> 0.0.1',
:git => "https://git-r3lab.uni.lu/core-services/jekyll-theme-lcsb-frozen-components.git",
:branch => "master"
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?
gem "wdm", "~> 0.1.1" if Gem.win_platform?
GIT
remote: https://github.com/sverrirs/jekyll-paginate-v2.git
revision: f8664cf68b59de823b88d4e6b1b985457f2c13af
specs:
jekyll-paginate-v2 (2.1.0)
jekyll (>= 3.0, < 5.0)
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7-x64-mingw32)
ffi (1.11.2-x64-mingw32)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-feed (0.13.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.0.1)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-theme-lcsb-default (0.3.0)
jekyll (~> 4.0)
jekyll-seo-tag (~> 2.5)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
rouge (3.13.0)
safe_yaml (1.0.5)
sassc (2.2.1-x64-mingw32)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tzinfo (2.0.0)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2019.3)
tzinfo (>= 1.0.0)
unicode-display_width (1.6.0)
wdm (0.1.1)
PLATFORMS
x64-mingw32
DEPENDENCIES
bundler (> 2.0)
jekyll (~> 4.0)
jekyll-feed (~> 0.6)
jekyll-paginate-v2 (~> 2)!
jekyll-theme-lcsb-default (~> 0.3)
minima (~> 2.5)
tzinfo-data
wdm (~> 0.1.1)
BUNDLED WITH
2.0.2
......@@ -19,8 +19,12 @@ description: >- # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "/r3-pages/" # the subpath of your site, e.g. /blog
url: "https://core-services.pages.uni.lu"
# URL settings that will be used to access on your local machine
# Note #1: by default you will need to use port 4000 (https://localhost:4000/website) to access the website in your browser running on your machine with `bundle exec jekyll serve`
# Note #2: the configuration used in GitlabCI is generated in `.gitlab-ci.yml` file automatically for you, if you need to change that - do it there
baseurl: "/website"
url: "https://localhost"
banner: default # When you have custom images, change this setting's value to the name of the folder containing them
logo: small # Change to "big" (without quotas) in case of having broad logo
......
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