Better documentation build CI Job

This commit is contained in:
Eliot Berriot 2018-03-12 23:39:03 +01:00
parent 01c8336988
commit 80de16b693
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 2 additions and 5 deletions

View File

@ -86,15 +86,12 @@ build_front:
pages:
stage: test
image: alpine
image: python:3.6-alpine
before_script:
- cd docs
script:
- apk --no-cache add py2-pip python-dev
- pip install sphinx
- apk --no-cache add make
- make html
- mv _build/html/ ../public
- python -m sphinx . ../public
artifacts:
paths:
- public