From 7a8ebf6db50ee3eac1f18559248de91bb71395c4 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Tue, 2 Apr 2019 21:38:36 -0600 Subject: [PATCH] Generate docs and publish to pages --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9f41fa..fd81d0c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,3 +15,16 @@ spec: script: - crystal tool format --check - crystal spec + +pages: + stage: deploy + dependencies: + - spec + script: + - crystal docs + - mv docs/ public/ + artifacts: + paths: + - public + only: + - master