Skip to content

Commit 452f00a

Browse files
authored
chore(backend): only deploy on staging on backend changes (#2748)
- fixes #2727 Signed-off-by: detj <[email protected]>
1 parent 01d5852 commit 452f00a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ on:
55
branches:
66
- main
77
- "cloud*"
8+
paths:
9+
# run on backend changes
10+
- "backend/**/dockerfile"
11+
- "backend/**/*.go"
12+
- "backend/**/*.mod"
13+
- "backend/**/*.sum"
14+
- ".github/workflows/publish.yml"
15+
16+
# don't run on markdown changes
17+
- "!**/*.md"
818

919
permissions:
1020
contents: read

0 commit comments

Comments
 (0)