Skip to content

doc: Security update by Dependabot #164

doc: Security update by Dependabot

doc: Security update by Dependabot #164

name: "Build and deploy doumentation"
on:
push:
paths:
- doc/**
pull_request:
paths:
- doc/**
workflow_dispatch:
inputs:
perform_deploy:
description: 'Perform deploy to GitHub Pages branch'
required: true
default: false
type: boolean
jobs:
doc-build-and-deploy:
name: Build and deploy documentation
runs-on: ubuntu-22.04
env:
PIP_CONSTRAINT: constraint.txt
steps:
- name: Checkout repository
uses: actions/checkout@v3
# https://discuss.python.org/t/getting-requirements-to-build-wheel-did-not-run-successfully-exit-code-1/30365/2
- run: echo "cython<3" > constraint.txt
- name: Build documentation
uses: ammaraskar/[email protected]
with:
docs-folder: doc
# - name: Deploy documentation
# if: ${{ github.event_name == 'workflow_dispatch' && inputs.perform_deploy }}
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# branch: gh-pages
# folder: doc/_build/html