-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|