Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
dm-grinko committed May 10, 2024
1 parent 03872fb commit 9ef5087
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ jobs:
ECR_REPOSITORY: ${{ secrets.BACKEND_ECR_REPOSITORY }}
IMAGE_TAG: ${{ steps.increment-git-tag.outputs.git-tag }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG backend
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./backend
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
working-directory: backend
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
ECR_REPOSITORY: ${{ secrets.FRONTEND_ECR_REPOSITORY }}
IMAGE_TAG: ${{ steps.increment-git-tag.outputs.git-tag }}
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./frontend
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
working-directory: frontend
1 change: 0 additions & 1 deletion backend/src/app.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export class AppController {

// await this.appGateway.sendUserList();
// Get all users by adminId

const records = await this.dynamodbUserService.getRecords(); // TODO: now we take all users but we need to take by adminId
return this.helpers.countImagesByPerson(records);

Expand Down
2 changes: 1 addition & 1 deletion frontend/redux/initial-states.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ interface initialAlbumState {
export const initialAlbumState: initialAlbumState = {
adminId: null,
categories: []
};
};

0 comments on commit 9ef5087

Please sign in to comment.