Skip to content

Enable gfortran13 for unit tests #9

Enable gfortran13 for unit tests

Enable gfortran13 for unit tests #9

Workflow file for this run

name: docs
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
stable:
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 stable
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# only deploy if the branch is master
if: ${{ contains(github.ref, 'refs/heads/master') }}
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY_STABLE }}
external_repository: n-claes/legolas.science-stable
publish_branch: main
publish_dir: ./docs
cname: legolas.science
enable_jekyll: true
full_commit_message: 'stable: deploy n-claes/legolas@${{ github.sha }}'