Skip to content

Commit 8f601d2

Browse files
committed
Change GitHub workflow
Run only if Dockerfile or any file related is changed. Do not automatically run if notebooks' content is updated, since that update can be easily pulled via git.
1 parent 60f15f2 commit 8f601d2

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/docker-build.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,24 @@ on:
55
push:
66
branches:
77
- main
8-
paths-ignore:
9-
- "*.md"
10-
- slides/**
11-
- images/**
12-
- .gitignore
8+
paths:
9+
- "Dockerfile"
10+
- "docker/**"
11+
- "binder/**"
12+
- "**/environment.yml"
13+
- "tutorial/tests/testsuite/**"
14+
- ".github/workflows/docker-build.yml"
1315
tags:
1416
- "v*.*"
1517
- "v*.*.*"
1618
pull_request:
17-
paths-ignore:
18-
- "*.md"
19-
- slides/**
20-
- images/**
21-
- .gitignore
19+
paths:
20+
- "Dockerfile"
21+
- "docker/**"
22+
- "binder/**"
23+
- "**/environment.yml"
24+
- "tutorial/tests/testsuite/**"
25+
- ".github/workflows/docker-build.yml"
2226
workflow_dispatch:
2327

2428
jobs:

0 commit comments

Comments
 (0)