From ec760693a822e894c91d79626e44d39b0b223ed0 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 23 Aug 2019 09:07:49 -0500 Subject: [PATCH] ci: Initial set up of docs building to pages. --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b98d54e9..86feb2f5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,7 @@ include: stages: - container_prep - build + - deploy debian:container_prep: extends: .debian@container-ifnot-exists @@ -51,6 +52,9 @@ debian:build-cmake: - pushd build - cmake -GNinja .. - ninja + artifacts: + paths: + - build/doc/html/ arch:build-cmake: stage: build @@ -60,3 +64,18 @@ arch:build-cmake: - pushd build - cmake -GNinja .. - ninja + +### +# Pages +### +pages: + stage: deploy + # only: + # - master + dependencies: + - debian:build-cmake + script: + - mv build/doc/html public + artifacts: + paths: + - public