Skip to content

add id-token write permission for docs deploy #77

add id-token write permission for docs deploy

add id-token write permission for docs deploy #77

Workflow file for this run

---
name: Deploy docs
on:
push:
branches:
- main
jobs:
deploy-docs:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: python -m pip install -r docs-requirements.txt
- name: Build and deploy docs
run: mkdocs gh-deploy --clean --verbose