forked from DigiLive/mushroom-strategy
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:
1
.github/workflows/deploy-docs.yml
vendored
1
.github/workflows/deploy-docs.yml
vendored
@@ -1,4 +1,3 @@
|
|||||||
# .github/workflows/deploy.yml
|
|
||||||
name: Deploy Documentation
|
name: Deploy Documentation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
8
.github/workflows/webpack.yml
vendored
8
.github/workflows/webpack.yml
vendored
@@ -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:
|
||||||
|
Reference in New Issue
Block a user