update-doxygen #29
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: update-doxygen | |
on: workflow_dispatch | |
permissions: | |
contents: write | |
jobs: | |
build-doxygen: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
- name: Install Doxygen | |
run: sudo apt-get install doxygen graphviz -y | |
shell: bash | |
- name: Generate Doxygen Documentation | |
run: doxygen Doxyfile | |
shell: bash | |
- name: Create .nojekyll (ensures pages with underscores work on gh pages) | |
run: touch docs/.nojekyll | |
shell: bash | |
- name: Commit files | |
run: | | |
git config --local user.email "ismael.correa.castro@gmail.com" | |
git config --local user.name "iarfen" | |
git add docs/* | |
git commit -m "Documentation updated" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages |