Should now build and deploy docs

This commit is contained in:
Eliot Berriot 2017-06-25 19:05:31 +02:00
commit f757403c94
5 changed files with 214 additions and 20 deletions

View file

@ -38,23 +38,19 @@ build_front:
- docker
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
# variables:
# DOCKER_DRIVER: overlay
#
# services:
# - docker:dind
#
#
# # build:
# # stage: build
# # script:
# # - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
# # - docker build -t funkwhale/front .
# # - docker push
# #
# # tags:
# # - dind
# # only:
# # - master
pages:
stage: test
image: 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/
artifacts:
paths:
- public
only:
- master