Skip to content

Fix: error of permission for publishing pages #11

Fix: error of permission for publishing pages

Fix: error of permission for publishing pages #11

Workflow file for this run

name: Build doxygen and deploy to GitHub Pages
permissions:
actions: read
contents: read
pages: write
id-token: write
on:
push:
branches:
- Deploy-branch-Awsome-CSS
jobs:
build-and-deploy:
runs-on: ubuntu-latest
concurrency: ci-${{github. ref}}
steps:
- name : Checkout
uses: actions/checkout@v4
with:
submodules: "true"
- name: Install Doxygen
run: sudo apt-get install doxygen graphviz -y
shell: bash
- name: Generate Doxygen Documentation
run: |
cd docs/doxygen
doxygen doxygen.cfg
shell: bash
- name: Create .nojekyll
run: |
cd docs/doxygen/build
touch html/.nojekyll
shell: bash
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/doxygen/build/html