Commit 097bb9ca authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645 Committed by Huste, Tobias (FWCC) - 111645
Browse files

ci: deploy docu to gitlab pages

parent 47d7a884
Pipeline #2658 passed with stages
in 11 minutes and 9 seconds
......@@ -119,3 +119,26 @@ py3.5-pypi-mysql:
REQUIREMENTS: pypi
script:
- ./run-tests.sh
pages:
stage: deploy
image: python:3.5
variables:
EXTRAS: docs,sqlite
REQUIREMENTS: pypi
before_script:
- pip install --upgrade pip setuptools py
- pip install coveralls requirements-builder
- requirements-builder -e $EXTRAS --level=$REQUIREMENTS setup.py > .ci-$REQUIREMENTS-requirements.txt
- pip install -r .ci-$REQUIREMENTS-requirements.txt
- pip install -e .[$EXTRAS]
script:
- mkdir .public
- cd docs/ && make html && cd ..
- mv docs/_build/html/* .public/
- mv .public public
artifacts:
paths:
- public
only:
- master
......@@ -76,6 +76,7 @@ setup_requires = [
install_requires = [
'celery>=4.0.2',
'humanize>=0.5.1',
'invenio-accounts>=1.0.0b12',
'invenio-assets>=1.0.0b6',
'invenio-files-rest>=1.0.0a19',
'invenio-records-files>=1.0.0a9',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment