From 9238ee2e1a81738eeaca7b3f0c756d8b1ba7c374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sun, 19 Aug 2018 23:17:19 +0200 Subject: [PATCH] Update the build-doc CI build to deploy the full doc --- .gitlab-ci.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 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 - script: - - pip3 install sphinx - - make doc - artifacts: - expire_in: 2 weeks - paths: - - doc/build/html 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: stage: build