From 6cebd0a09efa1eb68a3883f57e35ecf5dda9fd78 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Mon, 24 Sep 2018 09:41:45 -0500 Subject: [PATCH] Adding gitlab-ci build --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..23baacd --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +stages: + - build + +site-build: + image: jojomi/hugo + stage: build + script: + - mkdir -p /otuput + - hugo -d /output + only: + - master + artifacts: + paths: + - /output + expire_in: 1 week + tags: + - docker