Skip to content

fix CI issues

fix CI issues #3

Workflow file for this run

name: docs
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: write
jobs:
docs:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy h5py endf sphinx sphinx-rtd-theme myst-parser
- name: Build docs
run: |
cd docs
make html
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html