Skip to content

Commit 822fedc

Browse files
committed
Update publish workflow to ignore specific paths during push
1 parent 5758f55 commit 822fedc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@
88

99
name: Upload Python Package
1010

11-
1211
on:
1312
release:
1413
types: [published]
1514
push:
16-
branches: [master]
15+
branches:
16+
- master
17+
paths-ignore:
18+
- 'docs/**'
19+
- 'tests/**'
20+
- 'demo/**'
21+
- '.vscode/**'
22+
- '.github/**'
1723

1824
jobs:
1925
deploy:

0 commit comments

Comments
 (0)