Skip to content

Commit 9e35020

Browse files
committed
update workflow triggers to include backend paths and ignore specific files
1 parent 3c09685 commit 9e35020

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/deploy-backend.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- "backend/**"
9+
paths-ignore:
10+
- "backend/README.md"
11+
- "backend/docs/**"
12+
- "backend/.gitignore"
713

814
permissions:
915
contents: write

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Test
33
on:
44
push:
55
branches: [ "**" ]
6+
paths:
7+
- "backend/**"
8+
paths-ignore:
9+
- "backend/README.md"
10+
- "backend/docs/**"
11+
- "backend/.gitignore"
612
workflow_dispatch:
713

814
jobs:

0 commit comments

Comments
 (0)