Skip to content

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 #120

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 #120

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