Skip to content

Commit 9d166ad

Browse files
ci: update trigger path preven loop cd
1 parent 0eab2c7 commit 9d166ad

8 files changed

Lines changed: 15 additions & 9 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches: [ "main", "master" ]
66
paths:
77
- "backend/**"
8-
- ".github/**"
8+
- '.github/workflows/backend/**'
9+
910

1011
pull_request:
1112
branches: [ "main", "master" ]

.github/workflows/deploy-backend.yml renamed to .github/workflows/backend/deploy-backend.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
branches: ['main', 'production']
66
paths:
77
- 'backend/**'
8-
- '.github/workflows/deploy-backend.yml'
9-
- '.github/workflows/ci-backend'
8+
- '.github/workflows/backend/**'
109

1110
workflow_dispatch: # Memungkinkan trigger deployment secara manual dari GitHub Actions UI
1211

.github/workflows/docker-build-backend.yml renamed to .github/workflows/backend/docker-build-backend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches: [ "main", "master" ]
66
paths:
77
- "backend/**"
8-
- ".github/**"
8+
- '.github/workflows/backend/**'
9+
910

1011
pull_request:
1112
branches: [ "main", "master" ]

.github/workflows/deploy-monitoring.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches: [ "main", "production" ]
66
paths:
77
- "monitoring/**"
8-
- ".github/**"
8+
- '.github/workflows/deploy-monitoring.yml'
99

1010
workflow_dispatch: # Trigger manual dari GitHub Actions UI
1111

.github/workflows/deploy-ollama.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
branches: [ "main", "production" ]
66
paths:
77
- "ollama/**"
8-
- ".github/**"
8+
- '.github/workflows/deploy-ollama'
9+
910

1011
workflow_dispatch: # Trigger manual dari GitHub Actions UI
1112

.github/workflows/ci-frontend.yml renamed to .github/workflows/frontend/ci-frontend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
branches: [ "main", "master" ]
1010
paths:
1111
- "frontend/**"
12-
- ".github/**"
12+
- '.github/workflows/frontend/**'
13+
1314

1415

1516
jobs:

.github/workflows/deploy-frontend.yml renamed to .github/workflows/frontend/deploy-frontend.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
branches: [ "main", "production" ]
66
paths:
77
- "frontend/**"
8-
- ".github/**"
8+
- '.github/workflows/frontend/**'
9+
10+
911
workflow_dispatch: # Trigger manual dari GitHub Actions UI
1012

1113
jobs:

.github/workflows/docker-build-frontend.yml renamed to .github/workflows/frontend/docker-build-frontend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
branches: [ "main", "master" ]
1010
paths:
1111
- "frontend/**"
12-
- ".github/**"
12+
- '.github/workflows/frontend/**'
13+
1314

1415

1516
env:

0 commit comments

Comments
 (0)