diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 0000000..8398f08 --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,22 @@ +name: Doxygen Action +on: + push: + branches: [ main ] + +jobs: + generate-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + - name: Generate Doxygen + uses: mattnotmitt/doxygen-action@edge + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/html + force_orphan: true \ No newline at end of file