Skip to content

Commit

Permalink
Add github actions to run on develop branch as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Oct 7, 2024
1 parent 669ceae commit 1c2fd69
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- develop
paths:
- "backend/**"
- ".github/workflows/backend_build.yml"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ on:
push:
branches:
- master
- develop

paths:
- "backend/**"
- ".github/workflows/docker_build.yml"
pull_request:
branches:
- master
- develop

paths:
- "backend/**"
- ".github/workflows/docker_build.yml"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker_publish_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- master
- develop

paths-ignore:
- ".github/workflows/backend_build.yml"
- ".github/workflows/frontend_build.yml"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/frontend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Frontend Build

on:
push:
branches: [master]
branches: [master,develop]
paths:
- "frontend/**"
- ".github/workflows/frontend_build.yml"
pull_request:
branches: [master]
branches: [master,develop]
paths:
- "frontend/**"
- ".github/workflows/frontend_build.yml"
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install dependencies
run: |
cd frontend/
npm install --legacy-peer-deps
npm install
- name: Build
run: |
Expand Down

0 comments on commit 1c2fd69

Please sign in to comment.