Update the build-doc CI build to deploy the full doc
This commit is contained in:
parent
8edef603fb
commit
9238ee2e1a
1 changed files with 10 additions and 9 deletions
|
@ -4,16 +4,17 @@ stages:
|
||||||
|
|
||||||
build-doc:
|
build-doc:
|
||||||
stage: build
|
stage: build
|
||||||
image: python:3
|
|
||||||
script:
|
|
||||||
- pip3 install sphinx
|
|
||||||
- make doc
|
|
||||||
artifacts:
|
|
||||||
expire_in: 2 weeks
|
|
||||||
paths:
|
|
||||||
- doc/build/html
|
|
||||||
only:
|
only:
|
||||||
- master
|
- branches@poezio/poezio
|
||||||
|
tags:
|
||||||
|
- www
|
||||||
|
image: docker.louiz.org/poezio/poezio/doc-builder
|
||||||
|
script:
|
||||||
|
- ./update.sh
|
||||||
|
- ln -s /usr/libexec/python3-sphinx/sphinx-build /usr/bin/
|
||||||
|
- make doc
|
||||||
|
- rm -rf /www/latest
|
||||||
|
- mv doc/build/html/ /www/latest
|
||||||
|
|
||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
Loading…
Reference in a new issue