Skip to content

Update doxygen-and-deploy.yml #6

Update doxygen-and-deploy.yml

Update doxygen-and-deploy.yml #6

name: Doxygen GitHub Pages Deploy Action
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
submodules: "true"
- name: install doxygen
run: sudo apt-get install doxygen -y || sudo yum install doxygen -y
shell: bash
- name: make Doxygen output
run: doxygen docs/Doxyfile
shell: bash
- name: add sub module
run: touch .nojekyll && git add . && git commit -m "commit html"
working-directory: docs/html
- name: set submodules
run: git subtree split -P docs/html -b gh-pages
shell: bash
- name: push html to gh-pages
run: git push origin gh-pages
working-directory: docs/html