From e39f445e4a36b21000591ce3587c70d2186b67a6 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sun, 23 Feb 2020 20:11:06 +0100 Subject: [PATCH] ci: Build web site. --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d39087e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +image: debian:buster-slim +before_script: + - apt update -qq + +stages: + - build + - deploy + +build_job: + stage: build + script: + - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 make hugo + - make + artifacts: + paths: + - public + variables: + GIT_SUBMODULE_STRATEGY: normal + +deploy_job: + stage: deploy + script: + - /bin/false # not implemented + only: + - master