Skip to content

Generate and deploy Doxygen documentation #4

Generate and deploy Doxygen documentation

Generate and deploy Doxygen documentation #4

Workflow file for this run

name: doxygen
run-name: Generate and deploy Doxygen documentation
on:
push:
branches:
- "master"
workflow_dispatch: {}
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/configure-pages@v3

Check failure on line 18 in .github/workflows/doxygen.yaml

View workflow run for this annotation

GitHub Actions / doxygen

Invalid workflow file

The workflow is not valid. .github/workflows/doxygen.yaml (Line: 18, Col: 9): 'uses' is already defined
- name: Add python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip' # caching pip dependencies
- name: Install the doxyqml filter
run: pip install doxyqml
- name: Doxygen
uses: mattnotmitt/[email protected]
- name: Upload GitHub pages artifact
uses: "actions/upload-pages-artifact@v2"
with:
path: "doxygen/html/"
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: "actions/deploy-pages@v2"