Merge pull request #101 from dxrcy/main #27
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: deploy-doxygen | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "include/**" | |
- "Doxyfile" | |
- "**/*.md" | |
- ".github/workflows/doxygen.yml" | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Doxygen | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y doxygen graphviz | |
- name: Generate Documentation | |
run: doxygen ./Doxyfile | |
- name: Deploying to Gh-pages | |
uses: jinxto/doxygen-env-setup@v1.5 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |