From 2cf88bdac296d868f277fe6966fae896dad738fc Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Sun, 22 Nov 2020 23:25:42 +0100 Subject: [PATCH] Allow building lesson using GitLab Pages --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..bc808558 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: + name: carpentries/lesson-docker:latest + entrypoint: [""] + +variables: + LC_ALL: "C.UTF-8" + MAKEFLAGS: "-j 8" + JEKYLL_ENV: "production" + +pages: + stage: deploy + script: + - make site + - mv _site public + artifacts: + paths: + - public + only: + - gh-pages