Skip to content

Commit

Permalink
File doxygen.yml updated with the name, and without the commented part
Browse files Browse the repository at this point in the history
  • Loading branch information
iarfen committed Jul 13, 2024
1 parent cc55a1a commit 8f48aa4
Showing 1 changed file with 27 additions and 30 deletions.
57 changes: 27 additions & 30 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: update-doxygen
on: workflow_dispatch
permissions:
contents: write
Expand All @@ -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

0 comments on commit 8f48aa4

Please sign in to comment.