Skip to content

Bump pypa/cibuildwheel from 3.0.1 to 3.1.3 (#318) #191

Bump pypa/cibuildwheel from 3.0.1 to 3.1.3 (#318)

Bump pypa/cibuildwheel from 3.0.1 to 3.1.3 (#318) #191

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/checkout@v4.2.2
- 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/github-pages-deploy-action@v4.7.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs/_build/html # The folder the action should deploy.