Skip to content

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#106) #101

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#106)

Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#106) #101

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- run: pip install -r requirements.txt -r docs-requirements.txt
- run: sphinx-build -M dirhtml docs dist
- uses: actions/upload-pages-artifact@v3
with:
path: ./dist/dirhtml
deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/configure-pages@v5
- id: deployment
uses: actions/deploy-pages@v4