Skip to content

Commit

Permalink
Build and publish documentation from master changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Blanchard committed Aug 16, 2018
1 parent 1dbfac2 commit 13ed124
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .gitlab-ci.yml
Expand Up @@ -40,6 +40,17 @@ run-dummy-job-debian:
image: buildstream/buildstream-debian
<<: *dummy-job

build-docs:
stage: test
script:
- pip3 install --editable ".[docs]"
- make -C docs html
- mkdir -p documentation/
- cp -a docs/build/html/. documentation/
artifacts:
paths:
- documentation/


coverage:
stage: post
Expand All @@ -61,8 +72,10 @@ pages:
stage: post
dependencies:
- tests-debian-stretch
- build-docs
script:
- mv coverage/ public/
- cp -a coverage/. public/
- cp -a documentation/* public/
artifacts:
paths:
- public/
Expand Down

0 comments on commit 13ed124

Please sign in to comment.