From f80116d0f0869f19d67518c817da37aa7445b82a Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 16 Jun 2020 12:30:12 +0300 Subject: GitLab Pages Support --- exampleSite/.gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 exampleSite/.gitlab-ci.yml (limited to 'exampleSite') diff --git a/exampleSite/.gitlab-ci.yml b/exampleSite/.gitlab-ci.yml new file mode 100644 index 0000000..af5fabc --- /dev/null +++ b/exampleSite/.gitlab-ci.yml @@ -0,0 +1,28 @@ +# SERVING CSTATE ON GITLAB PAGES +# Introduced in v4.2.1 +# +# This file is very similar to the existing GitLab 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 +# +# cState uses Hugo Extended. +image: registry.gitlab.com/pages/hugo/hugo_extended:0.65.3 + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +test: + script: + - hugo + except: + - master + +pages: + script: + - hugo + artifacts: + paths: + - public + only: + - master -- cgit v1.2.3-70-g09d2