From 2fc54e93125acde554a871ec6cdeac36b9b1e8cb Mon Sep 17 00:00:00 2001 From: Suhyeon Jeon Date: Sat, 1 Mar 2025 23:01:48 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20api=20key=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main-deploy-v1.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main-deploy-v1.yml b/.github/workflows/main-deploy-v1.yml index d0f9cab..987ab35 100644 --- a/.github/workflows/main-deploy-v1.yml +++ b/.github/workflows/main-deploy-v1.yml @@ -26,6 +26,7 @@ jobs: NEXT_PUBLIC_KAKAO_APP_KEY=${{ secrets.NEXT_PUBLIC_KAKAO_APP_KEY }} NEXT_PUBLIC_PAY200_KEY=${{ secrets.NEXT_PUBLIC_PAY200_KEY }} NEXT_PUBLIC_TOSS_PAY_KEY=${{ secrets.NEXT_PUBLIC_TOSS_PAY_KEY }} + NEXT_PUBLIC_KAKAO_API_KEY=${{ secrets.NEXT_PUBLIC_KAKAO_API_KEY }} - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 From 4959c822b302d6946d7eb8f46dd035492a33a937 Mon Sep 17 00:00:00 2001 From: Suhyeon Jeon Date: Sat, 1 Mar 2025 23:05:45 +0900 Subject: [PATCH 2/2] fix: api key --- src/components/CommonLayout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/CommonLayout.tsx b/src/components/CommonLayout.tsx index e692d30..b66b132 100644 --- a/src/components/CommonLayout.tsx +++ b/src/components/CommonLayout.tsx @@ -102,6 +102,8 @@ const CommonLayout = ({ children }: CommonLayoutProps) => { longitude: position.coords.longitude, } + console.log(process.env.NEXT_PUBLIC_KAKAO_API_KEY) + if (!addressStoreAddress || !member) { getGeolocationToAddress( {