Skip to content

Commit 2331e33

Browse files
committed
Refactor paths and paths-ignore
Webpack doesn't need to build a distribution if the source files don't change.
1 parent 09d4863 commit 2331e33

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# .github/workflows/deploy.yml
21
name: Deploy Documentation
32

43
on:

.github/workflows/webpack.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ name: Build distribution with Webpack
33
on:
44
push:
55
branches: [ "main" ]
6-
# Ignore changes in folders that are affected by the auto commit. (Node.js project)
7-
paths-ignore:
8-
- 'dist/**'
9-
# pull_request:
10-
# branches: [ "main" ]
6+
paths:
7+
- 'src/**'
8+
- 'webpack.config.js'
119

1210
jobs:
1311
build:

0 commit comments

Comments
 (0)