Skip to content

Commit

Permalink
feat: console제거
Browse files Browse the repository at this point in the history
  • Loading branch information
cjy3458 committed May 3, 2024
1 parent 72b6cdc commit 827e484
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# name: NEXT Deploy prod
# on:
# push:
# branches: main
# env:
# NEXT_PUBLIC_GOOGLE_CLIENT_ID: '${{secrets.NEXT_PUBLIC_GOOGLE_CLIENT_ID}}'
# NEXT_PUBLIC_GOOGLE_REDIRECT_URI: '${{secrets.NEXT_PUBLIC_GOOGLE_REDIRECT_URI}}'
# NEXT_PUBLIC_GOOGLE_SCOPE: '${{secrets.NEXT_PUBLIC_GOOGLE_SCOPE}}'
# NEXT_PUBLIC_GOOGLE_ANALYTICS: '${{secrets.NEXT_PUBLIC_GOOGLE_ANALYTICS}}'
# NEXT_PUBLIC_API_KEY: '${{secrets.NEXT_PUBLIC_API_KEY}}'
# NEXT_PUBLIC_NOTION_KEY: '${{secrets.NEXT_PUBLIC_NOTION_KEY}}'
# NEXT_PUBLIC_NOTION_DATABASE_ID: '${{secrets.NEXT_PUBLIC_NOTION_DATABASE_ID}}'
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout source code.
# uses: actions/checkout@main
name: NEXT Deploy prod
on:
push:
branches: main
env:
NEXT_PUBLIC_GOOGLE_CLIENT_ID: '${{secrets.NEXT_PUBLIC_GOOGLE_CLIENT_ID}}'
NEXT_PUBLIC_GOOGLE_REDIRECT_URI: '${{secrets.NEXT_PUBLIC_GOOGLE_REDIRECT_URI}}'
NEXT_PUBLIC_GOOGLE_SCOPE: '${{secrets.NEXT_PUBLIC_GOOGLE_SCOPE}}'
NEXT_PUBLIC_GOOGLE_ANALYTICS: '${{secrets.NEXT_PUBLIC_GOOGLE_ANALYTICS}}'
NEXT_PUBLIC_API_KEY: '${{secrets.NEXT_PUBLIC_API_KEY}}'
NEXT_PUBLIC_NOTION_KEY: '${{secrets.NEXT_PUBLIC_NOTION_KEY}}'
NEXT_PUBLIC_NOTION_DATABASE_ID: '${{secrets.NEXT_PUBLIC_NOTION_DATABASE_ID}}'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code.
uses: actions/checkout@main

# - name: Install Dependencies
# run: |
# npm install
- name: Install Dependencies
run: |
npm install
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ap-northeast-2
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: ap-northeast-2

# - name: Deploy Next.js app
# run: |
# npm run deploy
- name: Deploy Next.js app
run: |
npm run deploy
1 change: 0 additions & 1 deletion src/components/mypage/MyScoreSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const MyScoreSection = ({ userProfile }: { userProfile: UserProfile }) => {
);

useEffect(() => {
console.log('출석 데이터:', userAttendance);
console.log('과제 데이터:', userAssignment);
if (userAttendance && userAssignment) {
console.log(userAttendance);
Expand Down

0 comments on commit 827e484

Please sign in to comment.