Skip to content

Commit

Permalink
Finetune gen-docs.yml
Browse files Browse the repository at this point in the history
Finetune gen-docs.yml to only build docs when specific headers change.  I was rebuilding the docs whenever any header/c file was changed.
  • Loading branch information
andressbarajas authored Nov 13, 2024
1 parent fdec42b commit 661647b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/gen-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ name: Generate Doxygen Documentation
on:
push:
branches:
- master # or your default branch
- master
paths:
- '**.h' # Monitor header file changes
- '**.c' # Monitor source file changes
- 'Doxyfile' # Monitor Doxygen config changes
- 'include/**'
- 'kernel/arch/dreamcast/include/**'
- 'addons/include/**'
- 'doc/Doxyfile'
- 'doc/pages/**'
- 'README.md'

Expand All @@ -17,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
KOS_BASE: ${{ github.workspace }} # Sets KOS_BASE to the repository root
KOS_BASE: ${{ github.workspace }}
KOS_ARCH: dreamcast

steps:
Expand All @@ -34,9 +35,6 @@ jobs:
sudo mv doxygen-1.11.0/bin/* /usr/local/bin/
rm -rf doxygen-1.11.0*
- name: Verify Doxygen Version
run: doxygen --version

- name: Create Output Directory for Doxygen
run: mkdir -p doc/reference

Expand Down

0 comments on commit 661647b

Please sign in to comment.