Skip to content

Commit 5a2be61

Browse files
Dashboard Pages deploys only watched dashboard files even though the bundle also depends on shared library and build inputs. Changes in lib, foreign, or the shared Spago and npm configuration could update the dashboard build without ever triggering a redeploy.
Expand the workflow path filters to include the dashboard workflow file, shared source packages, and the root lock and config files used by the build. Dashboard-affecting changes now trigger preview and production deployments even when they originate outside the dashboard directory.
1 parent 9dd9c35 commit 5a2be61

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/dashboard.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,24 @@ name: Deploy Dashboard
33
on:
44
push:
55
branches: [master]
6-
paths: ['dashboard/**']
6+
paths:
7+
- '.github/workflows/dashboard.yml'
8+
- 'dashboard/**'
9+
- 'foreign/**'
10+
- 'lib/**'
11+
- 'package.json'
12+
- 'spago.lock'
13+
- 'spago.yaml'
714
pull_request:
815
types: [opened, reopened, synchronize, closed]
9-
paths: ['dashboard/**']
16+
paths:
17+
- '.github/workflows/dashboard.yml'
18+
- 'dashboard/**'
19+
- 'foreign/**'
20+
- 'lib/**'
21+
- 'package.json'
22+
- 'spago.lock'
23+
- 'spago.yaml'
1024

1125
permissions:
1226
contents: write

0 commit comments

Comments
 (0)