ci: Add pages job

This commit is contained in:
Roger Leigh 2018-11-18 10:37:37 +00:00
parent 2f79874c30
commit 8addf2c1f7

View File

@ -4,6 +4,7 @@ before_script:
stages: stages:
- build - build
- pages
autoconf: autoconf:
stage: build stage: build
@ -19,3 +20,14 @@ cmake-ninja:
stage: build stage: build
script: script:
- sh build/gitlab-ci cmake "Ninja" Debug - sh build/gitlab-ci cmake "Ninja" Debug
pages:
stage: pages
script:
- cp -r html public
artifacts:
name: $CI_PROJECT_NAME-$CI_JOB_NAME
paths:
- public
only:
- master