Newer
Older
# 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
- bundle install && bundle update jekyll-theme-lcsb-default && bundle update jekyll-theme-lcsb-frozen-components
- '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 test --config "_config.yml,_config_ci.yml"
- 'echo $CI_COMMIT_SHA > test/version'
test_spell_check:
image: debian
stage: test
dependencies:
- build
script:
- apt-get update
- apt-get install -y aspell aspell-en
- ./test_spell_check.sh
except:
- master
- mv test public
- echo "Your website is available at $CI_PAGES_URL"