-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File doxygen.yml updated with the name, and without the commented part
- Loading branch information
Showing
1 changed file
with
27 additions
and
30 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
name: update-doxygen | ||
on: workflow_dispatch | ||
permissions: | ||
contents: write | ||
|
@@ -6,36 +7,32 @@ jobs: | |
build-doxygen: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run Doxygen Documentation Generation Container | ||
- 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 | ||
run: > | ||
docker run --rm | ||
--workdir ${{ github.workspace }} | ||
--volume ${{ github.workspace }}:${{ github.workspace }}:rw | ||
ghcr.io/agarwalsaurav/doxygen-arch:latest | ||
. | ||
Doxyfile | ||
./docs | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
- name: Commit files | ||
run: | | ||
git config --local user.email "[email protected]" | ||
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: | ||
token: ${{ secrets.DOXYGEN_SECRET }} | ||
branch: gh-pages | ||
folder: ./docs | ||
target-folder: docs | ||
git-config-email: [email protected] | ||
#steps: | ||
#- name: Checkout | ||
# uses: actions/checkout@v4 | ||
#- name: Action Doxygen and GitHub Pages | ||
# id: ghaction | ||
# uses: AgarwalSaurav/ghaction-doxygen-ghpages@release/v2 | ||
# with: | ||
# github_token: ${{ secrets.DOXYGEN_SECRET }} | ||
# working-directory: . | ||
# doxyfile-path: ./Doxyfile | ||
# html-output-folder: ./docs | ||
# branch: gh-pages | ||
# target_folder: docs | ||
# git-config-email: [email protected] | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages |