Skip to content

doc: various small fixes #18

doc: various small fixes

doc: various small fixes #18

Workflow file for this run

name: Documentation deployement
on:
pull_request_target:
types:
- closed
branches:
- main
jobs:
build_publish_docs:
# Deploy to cloudflare
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Document
run: |
pip install -r requirements-dev.txt
touch .env
echo "SPHINX_GITHUB_CHANGELOG_TOKEN=${{secrets.DOC_GH_API_TOKEN}}" > .env
sphinx-build -b html docs build
- name: Publish
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.PRD_CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.PRD_CLOUDFLARE_ACCOUNT_ID }}
projectName: mpqp
directory: build