summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-08-19 23:17:19 +0200
committerlouiz’ <louiz@louiz.org>2018-08-20 00:00:05 +0200
commit9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374 (patch)
tree3035daa18f344435e9e2b8b49f1e835ec57992cb
parent8edef603fb12e1f79719f09dd0eed7c7f399c8fc (diff)
downloadpoezio-9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374.tar.gz
poezio-9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374.tar.bz2
poezio-9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374.tar.xz
poezio-9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374.zip
Update the build-doc CI build to deploy the full doc
-rw-r--r--.gitlab-ci.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18f128ae..f9822ef3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,16 +4,17 @@ stages:
build-doc:
stage: build
- image: python:3
+ only:
+ - branches@poezio/poezio
+ tags:
+ - www
+ image: docker.louiz.org/poezio/poezio/doc-builder
script:
- - pip3 install sphinx
+ - ./update.sh
+ - ln -s /usr/libexec/python3-sphinx/sphinx-build /usr/bin/
- make doc
- artifacts:
- expire_in: 2 weeks
- paths:
- - doc/build/html
- only:
- - master
+ - rm -rf /www/latest
+ - mv doc/build/html/ /www/latest
build-ubuntu:
stage: build