Skip to content

Commit

Permalink
Fix hugo.yml workflow
Browse files Browse the repository at this point in the history
We want it to rebuild when:
* `main` branch changes by
  * any file in doc/src/main/hugo
  * the hugo.yml file changes
  * any scala file changes
  • Loading branch information
reidspencer committed Aug 15, 2024
1 parent 65dae5c commit 158b540
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ on:
push:
branches: ["main"]
paths:
- doc/src/main/hugo/**
- .github/workflows/hugo.yml
pull_request:
branches: ["main"] # PRs that merge to main
paths:
- doc/src/main/hugo/**
- .github/workflows/hugo.yml
- 'doc/src/main/hugo/**'
- '.github/workflows/hugo.yml'
- '**/*.scala'


# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand Down

0 comments on commit 158b540

Please sign in to comment.