ci: Initial set up of docs building to pages.

This commit is contained in:
Ryan Pavlik 2019-08-23 09:07:49 -05:00
parent 0f9b5786f3
commit ec760693a8

View file

@ -23,6 +23,7 @@ include:
stages: stages:
- container_prep - container_prep
- build - build
- deploy
debian:container_prep: debian:container_prep:
extends: .debian@container-ifnot-exists extends: .debian@container-ifnot-exists
@ -51,6 +52,9 @@ debian:build-cmake:
- pushd build - pushd build
- cmake -GNinja .. - cmake -GNinja ..
- ninja - ninja
artifacts:
paths:
- build/doc/html/
arch:build-cmake: arch:build-cmake:
stage: build stage: build
@ -60,3 +64,18 @@ arch:build-cmake:
- pushd build - pushd build
- cmake -GNinja .. - cmake -GNinja ..
- ninja - ninja
###
# Pages
###
pages:
stage: deploy
# only:
# - master
dependencies:
- debian:build-cmake
script:
- mv build/doc/html public
artifacts:
paths:
- public