Skip to content
Snippets Groups Projects
Commit a179ed10 authored by schmittu's avatar schmittu :beer:
Browse files

[CI] rsync docs to emzed.ethz.ch

parent 530104f3
Branches docs
No related tags found
No related merge requests found
Pipeline #1569 passed
......@@ -48,14 +48,21 @@ update_docs:
image: sissource.ethz.ch:5005/sispub/emzed/linux_base_images/ubuntu_16_10_for_emzed
tags:
- docker-executor
before_script:
- apt update
- apt install -y make
- apt install -y pandoc
# from https://docs.gitlab.com/ee/ci/ssh_keys/:
- chmod 600 ${SSH_PRIVATE_KEY}
script:
- pip install --extra-index-url https://pypi-sissource.ethz.ch/simple emzed3
- pip install -e .
- pip install -r requirements_dev.txt
- python3 -c 'import emzed_ext_mzmine2 as e; e.init()'
- docs/demos/render_all_notebooks.sh
- make docs
- cp -R htmlcov docs/_build/html
- rsync -r docs/_build/html/* emzed.ethz.ch:htdocs/3/emzed.ext.mzmine2/
- scp -r -i ${SSH_PRIVATE_KEY} -o 'StrictHostKeyChecking no' docs/_build/html/* w3_emzed2@emzed.ethz.ch:htdocs/3/emzed.ext.mzmine2/
when: manual
dependencies:
- linux_tests
......@@ -37,13 +37,15 @@ coverage:
coverage html
open htmlcov/index.html
build_docs: docs
open docs/_build/html/index.html
docs:
rm -f docs/emzed.ext.mzmine2*.rst
sphinx-apidoc --implicit-namespaces -e -o docs/ src/emzed_ext_mzmine2/
$(MAKE) -C docs clean
$(MAKE) -C docs html
cp -R htmlcov docs/_build/html
open docs/_build/html/index.html
sdist: clean
python setup.py sdist
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment