Skip to content

Docs with Doxygen

Docs with Doxygen #1

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
compile:
name: Compile
runs-on: ubuntu-latest
steps:

Check failure on line 13 in .github/workflows/doc-gen.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/doc-gen.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
-
uses: actions/checkout@v3
-
name: Generate Doxygen
uses: mattnotmitt/[email protected]
with:
doxyfile-path: 'doc/Doxygen'
-
name: Cache documentation
if: ${{ github.ref == 'refs/heads/main' }}
uses: actions/cache/save@v3
with:
path: docs/output/html
key: docs-${{ github.sha }}
push:
name: Push to Pages
if: ${{ github.ref == 'refs/heads/main' }}
needs: [compile]
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
-
name: Fetch documentation cache
uses: actions/cache/restore@v3
with:
path: _site
key: docs-${{ github.sha }}
-
name: Upload GitHub Pages artifact
uses: actions/[email protected]
-
name: Deploy GitHub Pages
uses: actions/deploy-pages@v1