Skip to content

Merge pull request #317 from fermisurfaces/dependabot/pip/pymatgen-20… #188

Merge pull request #317 from fermisurfaces/dependabot/pip/pymatgen-20…

Merge pull request #317 from fermisurfaces/dependabot/pip/pymatgen-20… #188

Workflow file for this run

name: Build documentation
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pandoc
run: sudo apt-get install pandoc
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy wheel packaging
pip install -r requirements.txt
pip install -e .[docs]
- name: Build
run: sphinx-build docs/src docs_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs_build