From 60fe49ea3af38d4a7d5e8de1cdb72887b167b22d Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sat, 11 Jul 2020 22:35:14 +0200 Subject: Moving from jekyll to hugo --- .gitlab-ci.yml | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0e8b94..99801b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,30 +1,21 @@ # 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.6 +--- +# All available Hugo versions are listed here: +# https://gitlab.com/pages/hugo/container_registry +image: registry.gitlab.com/pages/hugo:latest variables: - JEKYLL_ENV: production - LC_ALL: C.UTF-8 - -before_script: - - gem install bundler - - bundle install + GIT_SUBMODULE_STRATEGY: recursive test: - stage: test script: - - bundle exec jekyll build -d test - artifacts: - paths: - - test + - hugo except: - master pages: - stage: deploy script: - - bundle exec jekyll build -d public + - hugo artifacts: paths: - public -- cgit v1.2.3