Skip to content

Commit

Permalink
[Doc build] only run when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Feb 2, 2024
1 parent 33ffcfd commit 3e7f540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build documentation

on:
push:
paths:
- "notebooks/**"
- ".github/workflows/build_documentation.yml"
branches:
- main

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build PR Documentation

on:
pull_request:
paths:
- "notebooks/**"
- ".github/workflows/build_pr_documentation.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down

0 comments on commit 3e7f540

Please sign in to comment.