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: pages:
stage: test stage: test
image: alpine image: python:3.6-alpine
before_script: before_script:
- cd docs - cd docs
script: script:
- apk --no-cache add py2-pip python-dev
- pip install sphinx - pip install sphinx
- apk --no-cache add make - python -m sphinx . ../public
- make html
- mv _build/html/ ../public
artifacts: artifacts:
paths: paths:
- public - public