aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <11616378+mistermantas@users.noreply.github.com>2020-06-16 12:30:12 +0300
committerGitHub <noreply@github.com>2020-06-16 12:30:12 +0300
commitf80116d0f0869f19d67518c817da37aa7445b82a (patch)
tree040652948eb116c1c6fd973fc9009e821510d155
parent0f85e0fb091ec689c701955394389700ad1c555d (diff)
GitLab Pages Support
-rw-r--r--exampleSite/.gitlab-ci.yml28
1 files changed, 28 insertions, 0 deletions
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