aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml23
1 files changed, 7 insertions, 16 deletions
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