Should now build and deploy docs
This commit is contained in:
parent
072605dea6
commit
f757403c94
5 changed files with 214 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue