From 693a8e1377efbec5913967c5c46f11c20d29e059 Mon Sep 17 00:00:00 2001 From: anjeongkyun Date: Sun, 15 Oct 2023 18:40:39 +0900 Subject: [PATCH] =?UTF-8?q?builc=20ci=EC=97=90=20env=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20=EC=BD=94=EB=93=9C=EB=A5=BC=20=EC=B6=94=EA=B0=80=ED=95=9C?= =?UTF-8?q?=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7a15997..6b86328 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,6 +20,17 @@ jobs: architecture: x64 cache: 'gradle' + - name: Set Yaml + uses: microsoft/variable-substitution@v1 + with: + files: ./api/src/main/resources/application.yaml + env: + spring.datasource.url: ${{ secrets.DB_URL }} + spring.datasource.username: ${{ secrets.DB_USER_NAME }} + spring.datasource.password: ${{ secrets.DB_USER_PASSWORD }} + oauth.kakao.client-id: ${{ secrets.KAKAO_CLIENT_ID }} + jwt.secret-key: ${{ secrets.SECRET_KEY }} + - name: Build with Gradle run: | ./gradlew clean build