diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8d5d2ca --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: API documentation generation + +on: + push: + branches: + - generate-api-doc + +jobs: + container: + runs-on: ubuntu-latest + container: hrektts/doxygen + steps: + - uses: actions/checkout@v3 + - run: | + doxygen doc/doxygen.cfg + mv html _site + name: Generate documentation + - uses: actions/upload-pages-artifact@v2 + name: Upload Pages artifact + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2