Skip to content

Commit

Permalink
Merge pull request #87 from softeerbootcamp4th/TASK-171
Browse files Browse the repository at this point in the history
[Feature][Task-171] CDN방식 추가
  • Loading branch information
nim-od authored Aug 19, 2024
2 parents 0d2fa85 + a8b7b35 commit 21943cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: React build
on:
on:
push:
branches:
- deploy
Expand All @@ -22,6 +22,10 @@ jobs:
run: |
echo "${{ secrets.USER_ENV }}" > packages/user/.env
- name: Create .env in admin package
run: |
echo "${{ secrets.ADMIN_ENV }}" > packages/admin/.env
- name: Build Common
run: yarn run build:common

Expand Down
5 changes: 2 additions & 3 deletions packages/admin/src/services/api/types/apiType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export interface QuizWinner {
postDate: string;
}


export interface PersonalityScore {
type: string;
value: number;
Expand Down Expand Up @@ -71,7 +70,7 @@ export interface Payload {
};
[API.QUIZ_WINNER]: {
[METHOD.GET]: Record<string, never>;
}
};
[API.QUIZ]: {
[METHOD.POST]: Quiz;
};
Expand Down Expand Up @@ -100,7 +99,7 @@ export interface Response {
};
[API.QUIZ_WINNER]: {
[METHOD.GET]: QuizWinner[];
}
};
[API.QUIZ]: {
[METHOD.POST]: Quiz;
};
Expand Down

0 comments on commit 21943cf

Please sign in to comment.