From 1ecbdc8b8347881edefb5fc5945e4253f76c25a0 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sat, 27 Jan 2024 23:02:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20CD=20workflow=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=EA=B0=80=20=EC=A0=9C?= =?UTF-8?q?=EB=8C=80=EB=A1=9C=20=EC=84=A4=EC=A0=95=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Delivery.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Continuous Delivery.yml b/.github/workflows/Continuous Delivery.yml index 01e522e..f7beb0d 100644 --- a/.github/workflows/Continuous Delivery.yml +++ b/.github/workflows/Continuous Delivery.yml @@ -26,12 +26,14 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2 + - name: Set env for Gradle build + run: | + echo DB_URL=${{ secrets.DB_URL }} >> $GITHUB_ENV + echo DB_USER=${{ secrets.DB_USR }} >> $GITHUB_ENV + echo DB_PASSWORD=${{ secrets.DB_PWD }} >> $GITHUB_ENV + - name: Execute Gradle build run: ./gradlew build - env: - DB_URL: ${{ secrets.DB_URL }} - DB_USER: ${{ secrets.DB_USR }} - DB_PASSWORD: ${{ secrets.DB_PWD }} - name: Login to docker-hub uses: docker/login-action@v3