gitlab ci

This commit is contained in:
Chapin Bryce 2019-06-12 20:46:12 -04:00
parent aa5967fcf5
commit b56c4b938f
2 changed files with 2 additions and 3 deletions

View File

@ -3,12 +3,12 @@ image: python:3.7.3-slim-stretch
pages:
script:
- apt update
- apt install -y python3-pip python3-dev build-essential
- apt install -y build-essential
- pip3 install --upgrade pip
- pip3 install -r dev_requirements.txt
- cd docs
- make html
- mv _build/ public/
- mv _build/html public/
artifacts:
paths:
- public

View File

@ -17,7 +17,6 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
html: Makefile
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
epub: Makefile
@$(SPHINXBUILD) -M epub "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)