Skip to content

Commit

Permalink
chore: initial production deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
wielopolski committed Oct 24, 2024
1 parent 452ee08 commit 08809dc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-admin-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
on:
push:
branches:
- "deploy-production/**"
- production
paths:
- apps/admin/**
- .github/workflows/deploy-admin-production.yml
Expand Down Expand Up @@ -55,4 +55,4 @@ jobs:
ECS_CLUSTER: ${{ secrets.AWS_ECS_CLUSTER }}
ECS_SERVICE: ${{ secrets.AWS_ECS_SERVICE_ADMIN }}
DOCKER_IMAGE: ${{ secrets.AWS_ECR_REGISTRY_ADMIN }}:${{ github.sha }}
run: selleo aws ecs deploy --region $AWS_REGION --cluster $ECS_CLUSTER --service $ECS_SERVICE --docker-image $DOCKER_IMAGE
run: selleo aws ecs deploy --region $AWS_REGION --cluster $ECS_CLUSTER --service $ECS_SERVICE --docker-image $DOCKER_IMAGE
2 changes: 1 addition & 1 deletion .github/workflows/deploy-api-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
on:
push:
branches:
- "deploy-production/**"
- production
paths:
- apps/api/**
- .github/workflows/deploy-api-production.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-webapp-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
on:
push:
branches:
- "deploy-production/**"
- production
paths:
- apps/web/**
- .github/workflows/deploy-webapp-production.yml
Expand Down
1 change: 1 addition & 0 deletions apps/api/src/lessons/lessons.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export class LessonsService {
) {}

async getAllLessons() {
//Todo: add pagination
const lessonsData = await this.db
.select({
id: lessons.id,
Expand Down

0 comments on commit 08809dc

Please sign in to comment.