Merge pull request #237 from sblondon/display-controller-example-impr… #157
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 github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare Doxyfile | |
run: | | |
sed -e 's/\$(PROJECT)/PSPSDK/' \ | |
-e 's/\$(VERSION)/'`cat VERSION | xargs echo -n`'/' \ | |
-e 's/\$(SRCDIR)/src/g' \ | |
-e 's/\$(GENERATE_LATEX)/NO/' \ | |
-e 's/\$(HAVE_DOT)/YES/' \ | |
-e 's/Helvetica/FreeSans/' \ | |
-i Doxyfile | |
- name: Doxygen documentation generation | |
uses: mattnotmitt/doxygen-action@v1 | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc/html | |
force_orphan: true |