Skip to content

Merge pull request #898 from hackingmaterials/fix-spglib #655

Merge pull request #898 from hackingmaterials/fix-spglib

Merge pull request #898 from hackingmaterials/fix-spglib #655

Workflow file for this run

name: Build documentation
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy==1.25.0 wheel packaging
pip install -r requirements.txt
pip install -e .[docs]
- name: Build
run: mkdocs build -f docs/mkdocs.yml -d ../docs_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs_build