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 name: Deploy Documentation
on: on:

View File

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