ci: only dispatch documentation update event if on branch `main`
This commit is contained in:
parent
eac6f6fbe3
commit
26967959e2
|
@ -9,6 +9,7 @@ jobs:
|
|||
trigger:
|
||||
runs-on: ubuntu-latest
|
||||
name: Dispatch event to documentation repository
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- uses: peter-evans/repository-dispatch@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue