Skip to content

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

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

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

Workflow file for this run

name: Deploy documentation
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: "pip"
cache-dependency-path: pyproject.toml
- name: setup
run: |
make dev INSTALL_EXTRA=doc
- name: build docs
run: |
make doc
- name: upload docs artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: ./docs/_build/html/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
# NOTE: Needed to push to the repository.
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4.0.5