Skip to content

Bump pypa/cibuildwheel from 3.0.0 to 3.0.1 (#313) #188

Bump pypa/cibuildwheel from 3.0.0 to 3.0.1 (#313)

Bump pypa/cibuildwheel from 3.0.0 to 3.0.1 (#313) #188

Workflow file for this run

name: Docs
on:
pull_request:
branches:
- main
paths:
- .github/workflows/docs.yml
- pyproject.toml
- s2fft/**
- docs/**
- notebooks/**
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/[email protected]
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
sudo apt install pandoc
python -m pip install --upgrade pip
pip install .[docs]
- name: Build Documentation
run: |
cd docs && make html
- name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/_build/html # The folder the action should deploy.