Skip to content

chore: remove annotated tag recreation #90

chore: remove annotated tag recreation

chore: remove annotated tag recreation #90

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency:
group: preview-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pages-preview:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wntrblm/[email protected]
if: github.event.action != 'closed'
with:
python-versions: "3.11"
- name: Verify no changes required to API docs
if: github.event.action != 'closed'
run: |
nox -s build_api_docs
git diff --exit-code
- name: Generate docs
if: github.event.action != 'closed'
run: nox -s docs
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./docs/_build/html