Skip to content

rtduino-doxygen-deploy-trigger-event #58

rtduino-doxygen-deploy-trigger-event

rtduino-doxygen-deploy-trigger-event #58

name: Doxygen GitHub Pages Deploy Action
on:
push:
branches:
- master
workflow_dispatch:
repository_dispatch:
types:
- rtduino-doxygen-deploy-trigger-event
jobs:
deploy-doxygen:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
# Update references
- name: Git Submodule Update
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: Commit update
run: |
git config --global user.name 'Git bot'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git commit -am "Auto updated submodule references" && git push || echo "No changes to commit"
- name: Generate Doxygen Pages
uses: DenverCoder1/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/html
config_file: Doxyfile