From b313b51fd0fa132f15eb792a7917aef3127e57be Mon Sep 17 00:00:00 2001 From: Sumin Date: Fri, 21 Jun 2024 16:26:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20env=20=ED=8C=8C=EC=9D=BC=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 15 --------------- .github/workflows/BuildTest.yml | 9 +++++++-- .github/workflows/CICD.yml | 14 ++++++++++++-- package.json | 2 +- 4 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 .env.production diff --git a/.env.production b/.env.production deleted file mode 100644 index c5b4904b..00000000 --- a/.env.production +++ /dev/null @@ -1,15 +0,0 @@ -NEXT_PUBLIC_BASE_URL=https://mogazoa-api.vercel.app/4-19 - -NEXT_PUBLIC_FE_URL=http://www.wdyta.store - -NEXT_PUBLIC_KAKAO_INTERGRITY=sha384-TiCUE00h649CAMonG018J2ujOgDKW/kVWlChEuu4jK2vxfAAD0eZxzCKakxg55G4 - -NEXT_PUBLIC_KAKAO_JAVASCRIPT_KEY=d482d8f211261d4455c01757ad174b9a - -NEXT_PUBLIC_GOOGLE_CLIENT_ID=76041229936-oujulf5bd3viirl9q66geeitcqfjdvb7.apps.googleusercontent.com - -NEXT_PUBLIC_GOOGLE_CLIENT_SECRET=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 - -NEXT_PUBLIC_KAKAO_API_KEY=d6a617fa64b497e8aeb8af0370ebb86b - -CDN_BASE_URL=https://d1klct0evttsb1.cloudfront.net \ No newline at end of file diff --git a/.github/workflows/BuildTest.yml b/.github/workflows/BuildTest.yml index 58a4565b..97b47702 100644 --- a/.github/workflows/BuildTest.yml +++ b/.github/workflows/BuildTest.yml @@ -13,11 +13,16 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Get Env + run: | + touch ./.env.production + echo "${{secrets.PRODUCTION_ENV}}" > ./.env.production + - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20.x" - cache: "yarn" + node-version: '20.x' + cache: 'yarn' - name: Install dependencies run: yarn install diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index d54d3c1f..aa3262b6 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -13,7 +13,12 @@ jobs: node-version: [18.x, 20.x] steps: - name: git clone - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Get Env + run: | + touch ./.env.production + echo "${{secrets.PRODUCTION_ENV}}" > ./.env.production - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -42,7 +47,12 @@ jobs: steps: - name: 코드 체크아웃 id: checkout-code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Get Env + run: | + touch ./.env.production + echo "${{secrets.PRODUCTION_ENV}}" > ./.env.production - name: Use Node.js 20.x uses: actions/setup-node@v3 diff --git a/package.json b/package.json index 2eb69e70..ecfa3f65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wdyta", - "version": "0.1.0", + "version": "0.2.0", "type": "module", "private": true, "scripts": {