Skip to content

added write to pages permission #2

added write to pages permission

added write to pages permission #2

Workflow file for this run

name: Docs
on:
push:
branches:
- 'main'
permissions:
pages: 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