Skip to content

added id-token write permission to pages deployment #3

added id-token write permission to pages deployment

added id-token write permission to pages deployment #3

Workflow file for this run

name: Docs
on:
push:
branches:
- 'main'
permissions:
pages: write
id-token: write
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Doxygen
run: sudo apt-get install -y doxygen
- name: Generate docs
run: doxygen
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4