name: Documentation on: push: branches: [ main ] jobs: build-documentation: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Doxygen Action uses: mattnotmitt/doxygen-action@v1.1.0 with: doxyfile-path: ./Doxyfile working-directory: . - name: GH Pages Deployment uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./html/ enable_jekyll: false allow_empty_commit: false force_orphan: true publish_branch: gh-pages