Skip to content

Commit 8d61c15

Browse files
ralyodioclaude
andcommitted
railway: add watchPatterns so store (apps/extensions) changes deploy
Railway was skipping deploys for commits that only touched apps/extensions/** (the store) — store changes only went live when a commit also touched a watched path. Explicit watchPatterns cover all Docker build inputs so store-only commits (and this one) trigger a deploy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 5b25b88 commit 8d61c15

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

railway.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@
22
"$schema": "https://railway.com/railway.schema.json",
33
"build": {
44
"builder": "DOCKERFILE",
5-
"dockerfilePath": "Dockerfile"
5+
"dockerfilePath": "Dockerfile",
6+
"watchPatterns": [
7+
"apps/web/**",
8+
"apps/extensions/**",
9+
"services/api/**",
10+
"Dockerfile",
11+
"Caddyfile",
12+
"start.sh",
13+
"*.svg",
14+
"*.png",
15+
"railway.json"
16+
]
617
},
718
"deploy": {
819
"restartPolicyType": "ON_FAILURE",

0 commit comments

Comments
 (0)