Skip to content

Commit

Permalink
ci: run doc builds only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
mhw0 committed Aug 24, 2023
1 parent a9e34ba commit 77834cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: ci-docs

on: [push, pull_request]
on:
push:
branches:
- 'main'
paths:
- '.github/**'
- 'docs/**'

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'CMakeLists.txt'
pull_request:
branches:
- main
- '*'
paths:
- '.github/**'
- 'src/**'
Expand Down

0 comments on commit 77834cb

Please sign in to comment.