Skip to content

Commit 0d0106c

Browse files
committed
set path triggers for CI
1 parent 93a1220 commit 0d0106c

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/generate_website.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ on:
44
push:
55
branches:
66
- main
7+
# If _any_ of the modified files match this filter, it will trigger this
8+
# workflow
9+
paths:
10+
- '*.jl'
11+
- '*.toml'
12+
- 'ad.py'
713
pull_request:
14+
paths:
15+
- '*.jl'
16+
- '*.toml'
17+
- 'ad.py'
818
workflow_dispatch:
919

1020
permissions:

.github/workflows/refresh_website.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
name: Build website using results from gh-pages
22

33
on:
4-
# TODO: Figure out how to run this workflow when only the web files are modified
4+
push:
5+
branches:
6+
- main
7+
# If _all_ the modified files match this filter, it won't trigger this
8+
# workflow
9+
paths-ignore:
10+
- '*.jl'
11+
- '*.toml'
12+
- 'ad.py'
13+
pull_request:
14+
paths:
15+
- '*.jl'
16+
- '*.toml'
17+
- 'ad.py'
518
workflow_dispatch:
619

720
permissions:

0 commit comments

Comments
 (0)