Skip to content

update pixi

update pixi #3

Workflow file for this run

name: Build and Deploy Sphinx
on:
push:
branches: ["main"] # Change this to "master" if that is your default branch
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install sphinx sphinx-rtd-theme
pip install . # This installs your package so Sphinx can import it
- name: Build Sphinx Documentation
run: |
sphinx-build -b html docs/source docs/build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html