Skip to content

no logo if logging_level = 0 (for multirun purposes) #81

no logo if logging_level = 0 (for multirun purposes)

no logo if logging_level = 0 (for multirun purposes) #81

Workflow file for this run

name: docs
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
develop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Fix version for now, 3.4 throws an error (see #101)
pip install markdown==3.3.7
pip install ford==6.1.13 graphviz
sudo apt-get install graphviz
pip install -U sphinx
pip install numpydoc sphinx-rtd-theme lazy-object-proxy==1.4 sphinx-autoapi
- name: Generate documentation
run: |
cd docs
python generate_docs.py develop
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# only deploy if the branch is develop
if: ${{ contains(github.ref, 'refs/heads/develop') }}
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: n-claes/legolas.science-dev
publish_branch: main
publish_dir: ./docs
cname: dev.legolas.science
enable_jekyll: true
full_commit_message: 'dev: deploy n-claes/legolas@${{ github.sha }}'