Skip to content

Commit fe47ffa

Browse files
committed
Restrict GitHub Actions workflow triggers to relevant files and directories and prevent unnecessary re-deploys
1 parent 34380d3 commit fe47ffa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- 'backend/**'
9+
- 'frontend/**'
10+
- 'docker-compose.yml'
11+
- '.github/workflows/**'
712

813
jobs:
914
build-and-deploy:

0 commit comments

Comments
 (0)