Skip to content

Commit

Permalink
bugfix(documentation): deploy doc only if there is an update
Browse files Browse the repository at this point in the history
  • Loading branch information
dixxond committed Dec 4, 2024
1 parent 17d852b commit cc23f9d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/buildGithubPage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ jobs:
runs-on: ubuntu-latest
permissions: read-all
steps:
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v2
id: api-doc-change
with:
base: ${{github.ref_name}}
filters: |
src:
changed:
- 'api/**'
outputs:
src: ${{steps.api-doc-change.outputs.changed}}
changed: ${{steps.api-doc-change.outputs.changed}}

check-changes-client-doc:
name: Check for changes in client documentation
Expand All @@ -29,11 +30,12 @@ jobs:
- uses: dorny/paths-filter@v3
id: client-doc-change
with:
base: ${{github.ref_name}}
filters: |
src:
changed:
- 'client/**'
outputs:
src: ${{steps.client-doc-change.outputs.changed}}
changed: ${{steps.client-doc-change.outputs.changed}}

publish-api-documentation:
name: Publish api documentation
Expand Down

0 comments on commit cc23f9d

Please sign in to comment.