Skip to content

Commit

Permalink
only build docs on tags when there are changes to doc files
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Feb 23, 2024
1 parent c7e9dac commit d72d23f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ name: build-docs
# events but only for the main branch
on:
push:
branches: [ main ]
paths:
- 'docs/**'
create:
tags:
- '*'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
docs:
Expand Down

0 comments on commit d72d23f

Please sign in to comment.