Skip to content

Commit

Permalink
Update doxygen-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
woater authored Apr 1, 2024
1 parent 1ee1f33 commit 74b3c2f
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/doxygen-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,23 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: DenverCoder1/[email protected]
- name: Checkout repository
uses: actions/checkout@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/html
config_file: docs/Doxyfile
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 cmm "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

0 comments on commit 74b3c2f

Please sign in to comment.