Skip to content

Commit 9bbe613

Browse files
committed
ci: Trigger workflow only on relevant path changes
1 parent a783985 commit 9bbe613

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,22 @@ on:
44
push:
55
branches: [ "master" ]
66
tags: [ 'v*.*.*' ]
7+
paths:
8+
- 'backend/**'
9+
- 'frontend/**'
10+
- 'docker/**'
11+
- 'Dockerfile'
12+
- 'docker-compose.yml'
13+
- '.github/workflows/**'
714
pull_request:
815
branches: [ "master" ]
16+
paths:
17+
- 'backend/**'
18+
- 'frontend/**'
19+
- 'docker/**'
20+
- 'Dockerfile'
21+
- 'docker-compose.yml'
22+
- '.github/workflows/**'
923

1024
env:
1125
IMAGE_NAME: dunajdev/docker-mailserver-gui

0 commit comments

Comments
 (0)