diff options
author | gabrielgio <gabriel.giovanini@pm.me> | 2020-07-11 22:35:14 +0200 |
---|---|---|
committer | gabrielgio <gabriel.giovanini@pm.me> | 2020-07-11 22:35:14 +0200 |
commit | 60fe49ea3af38d4a7d5e8de1cdb72887b167b22d (patch) | |
tree | bb05011c311b74c7c7676b7b689bbbc2c8546c9a /.gitlab-ci.yml | |
parent | 60b4299cb90a5b3f6e74ffd0ee0f51a0008fb3cf (diff) | |
download | gabrielgio.me-60fe49ea3af38d4a7d5e8de1cdb72887b167b22d.tar.gz gabrielgio.me-60fe49ea3af38d4a7d5e8de1cdb72887b167b22d.tar.bz2 gabrielgio.me-60fe49ea3af38d4a7d5e8de1cdb72887b167b22d.zip |
Moving from jekyll to hugo
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 23 |
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 |