Skip to content

Commit

Permalink
chore: Updated deployment scripts and added health check in platform
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdip-b committed Jul 12, 2024
1 parent 33491a1 commit fcc1c3f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
paths:
['packages/api/**', '.github/workflows/deploy-api.yaml', 'package.json']

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ on:
push:
branches:
- main
paths:
[
'packages/platform/**',
'.github/workflows/deploy-platform.yaml',
'package.json'
]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
paths:
['packages/web/**', '.github/workflows/deploy-web.yaml', 'package.json']

jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions apps/platform/src/app/api/health/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { NextResponse } from 'next/server'

export function GET(): unknown {
return NextResponse.json({ message: 'Hello World' }, { status: 200 })
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- keyshade-dev

redis:
image: redis:6
image: redis:7
ports:
- '6379:6379'
networks:
Expand Down

0 comments on commit fcc1c3f

Please sign in to comment.