Skip to content

Update submodule commit in _schema #25

Update submodule commit in _schema

Update submodule commit in _schema #25

Workflow file for this run

name: sphinx-doc
on:
push:
branches:
- main # Set a branch name to trigger deployment
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip' # caching pip dependencies
- name: Setup Python dependencies
run: pip install jsonschema sphinx numpy myst-parser pyyaml sphinx-toolbox sphinx-design
- name: Install pymatcal
run: pip install -e .
- name: Sphinx build
run: |
cd docs
sphinx-build source _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build