diff --git a/.env.production b/.env.production deleted file mode 100644 index c5b4904..0000000 --- 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 58a4565..97b4770 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 d54d3c1..aa3262b 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 2eb69e7..ecfa3f6 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": {