Refactor paths and paths-ignore

Webpack doesn't need to build a distribution if the source files don't
change.
This commit is contained in:
DigiLive
2025-05-26 15:29:43 +02:00
parent 09d486359e
commit 2331e33847
2 changed files with 3 additions and 6 deletions

View File

@@ -1,4 +1,3 @@
# .github/workflows/deploy.yml
name: Deploy Documentation
on:

View File

@@ -3,11 +3,9 @@ name: Build distribution with Webpack
on:
push:
branches: [ "main" ]
# Ignore changes in folders that are affected by the auto commit. (Node.js project)
paths-ignore:
- 'dist/**'
# pull_request:
# branches: [ "main" ]
paths:
- 'src/**'
- 'webpack.config.js'
jobs:
build: