Skip to content

Commit

Permalink
fix: DB에 멤버 업데이트 안되는 미친 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
son-daehyeon committed Sep 18, 2024
1 parent 296e610 commit 82fbb6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
platforms: linux/amd64
provenance: false
tags: ${{ env.IMAGE_NAME }}-amd64
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}-amd64-cache
cache-to: type=registry,ref=${{ env.IMAGE_NAME }}-amd64-cache
# cache-from: type=registry,ref=${{ env.IMAGE_NAME }}-amd64-cache
# cache-to: type=registry,ref=${{ env.IMAGE_NAME }}-amd64-cache

build-arm64:
runs-on: ubuntu-latest
Expand All @@ -70,8 +70,8 @@ jobs:
platforms: linux/arm64
tags: ${{ env.IMAGE_NAME }}-arm64
provenance: false
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}-arm64-cache
cache-to: type=registry,ref=${{ env.IMAGE_NAME }}-arm64-cache
# cache-from: type=registry,ref=${{ env.IMAGE_NAME }}-arm64-cache
# cache-to: type=registry,ref=${{ env.IMAGE_NAME }}-arm64-cache

merge-image:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,19 @@ export class PurgeUnusedImageJob {
...(await this.projectRepository.findAll())
.map((project) => project.content)
.flatMap((content) => this.toImagesFromHtml(content))

.filter((key) => !key.startsWith('data:image'))
.map((image) => this.activityService.extractKeyFromUrl(image)),
...(await this.projectRepository.findAll())
.map((project) => project.image)

.filter((key) => !key.startsWith('data:image'))
.map((image) => this.activityService.extractKeyFromUrl(image)),
...(await this.socialRepository.findAll())
.flatMap((social) => social.contents)
.map((content) => content.image)

.filter((key) => !key.startsWith('data:image'))
.map((image) => this.activityService.extractKeyFromUrl(image)),
];

Expand Down
1 change: 0 additions & 1 deletion src/domain/member/service/member.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export class MemberService {
member: Member,
{ description, github, instagram, blog }: UpdateMyInfoRequestDto,
): Promise<void> {
console.log(description, github, instagram, blog);
member.description = description;
member.link = { github, instagram, blog };

Expand Down

0 comments on commit 82fbb6a

Please sign in to comment.