From ee46e5707218eaef2335c1d8b76f805d430432a3 Mon Sep 17 00:00:00 2001 From: Vicky Steeves Date: Wed, 14 Oct 2020 21:33:41 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..4968f7c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +# This file is a template, and might need editing before it works on your project. +--- +# All available Hugo versions are listed here: +# https://gitlab.com/pages/hugo/container_registry +image: registry.gitlab.com/pages/hugo:latest + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +test: + script: + - hugo + except: + - main + +pages: + script: + - hugo + artifacts: + paths: + - public + only: + - main