Doxygen #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Doxygen' | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request: | |
# defaults: | |
# run: | |
# working-directory: lib | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: set version | |
run: echo "PROJECT_NUMBER = `git describe --tags`" >> Doxyfile | |
- name: Generate Documentation | |
uses: mattnotmitt/doxygen-action@edge | |
with: | |
working-directory: 'lib/' | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: lib/docs/html # The folder the action should deploy. | |
target-folder: . | |
force: true |