From 8d3f43b3299dc1e2e338496e396c7968161feb0f Mon Sep 17 00:00:00 2001 From: DONGHOON LEE <125895298+move-hoon@users.noreply.github.com> Date: Wed, 8 Oct 2025 01:06:26 +0900 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20.env=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=A0=84=EC=B2=B4=EB=A5=BC=20=ED=95=98=EB=82=98=EC=9D=98=20Sec?= =?UTF-8?q?ret=EC=9C=BC=EB=A1=9C=20=EA=B4=80=EB=A6=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 174889f..a83467f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,12 +24,7 @@ jobs: - name: Create .env file run: | mkdir -p src/main/resources - cat << EOF > src/main/resources/.env - SLACK_WEBHOOK_CREW_DEV_BE=${{ secrets.SLACK_WEBHOOK_CREW_DEV_BE }} - SLACK_WEBHOOK_CREW_DEV_FE=${{ secrets.SLACK_WEBHOOK_CREW_DEV_FE }} - SLACK_WEBHOOK_CREW_PROD_BE=${{ secrets.SLACK_WEBHOOK_CREW_PROD_BE }} - SLACK_WEBHOOK_CREW_PROD_FE=${{ secrets.SLACK_WEBHOOK_CREW_PROD_FE }} - EOF + echo "${{ secrets.DOTENV_FILE }}" > src/main/resources/.env - name: Build shadow JAR (default = shadowJar) run: ./gradlew build From eeb828df9495b480e923de01b9218aed603c08f9 Mon Sep 17 00:00:00 2001 From: DONGHOON LEE <125895298+move-hoon@users.noreply.github.com> Date: Wed, 8 Oct 2025 01:10:21 +0900 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20env=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=A0=84=EC=B2=B4=EB=A5=BC=20=ED=95=98=EB=82=98=EC=9D=98=20Sec?= =?UTF-8?q?ret=EC=9C=BC=EB=A1=9C=20=EA=B4=80=EB=A6=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20ci=20script=EC=97=90=EB=8F=84=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc91a6b..6298d3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,12 +25,7 @@ jobs: - name: Create .env file run: | mkdir -p src/main/resources - cat << EOF > src/main/resources/.env - SLACK_WEBHOOK_CREW_DEV_BE=${{ secrets.SLACK_WEBHOOK_CREW_DEV_BE }} - SLACK_WEBHOOK_CREW_DEV_FE=${{ secrets.SLACK_WEBHOOK_CREW_DEV_FE }} - SLACK_WEBHOOK_CREW_PROD_BE=${{ secrets.SLACK_WEBHOOK_CREW_PROD_BE }} - SLACK_WEBHOOK_CREW_PROD_FE=${{ secrets.SLACK_WEBHOOK_CREW_PROD_FE }} - EOF + echo "${{ secrets.DOTENV_FILE }}" > src/main/resources/.env - name: Compile and run test run: | From e964b3dfc5c2355fb5e851dbaab5048e21a71c91 Mon Sep 17 00:00:00 2001 From: move-hoon Date: Wed, 8 Oct 2025 01:23:38 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20.env=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=20=EC=8B=9C=20=EC=89=98=20=ED=99=95=EC=9E=A5?= =?UTF-8?q?=20=EB=B0=A9=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yml | 4 +++- .github/workflows/ci.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a83467f..c1c9a95 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -24,7 +24,9 @@ jobs: - name: Create .env file run: | mkdir -p src/main/resources - echo "${{ secrets.DOTENV_FILE }}" > src/main/resources/.env + printf '%s' "$DOTENV_FILE" > src/main/resources/.env + env: + DOTENV_FILE: ${{ secrets.DOTENV_FILE }} - name: Build shadow JAR (default = shadowJar) run: ./gradlew build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6298d3a..79fbbe8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,9 @@ jobs: - name: Create .env file run: | mkdir -p src/main/resources - echo "${{ secrets.DOTENV_FILE }}" > src/main/resources/.env + printf '%s' "$DOTENV_FILE" > src/main/resources/.env + env: + DOTENV_FILE: ${{ secrets.DOTENV_FILE }} - name: Compile and run test run: |