From c1e3e43d9fe33044c84697ceed4f47e4c46ce485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=ED=98=B8=EB=B9=88?= Date: Mon, 20 May 2024 15:47:41 +0900 Subject: [PATCH] Update server-ci.yml --- .github/workflows/server-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/server-ci.yml b/.github/workflows/server-ci.yml index 27ab98358..204629fb2 100644 --- a/.github/workflows/server-ci.yml +++ b/.github/workflows/server-ci.yml @@ -24,14 +24,14 @@ jobs: java-version: '17' cache: gradle - - name: make application.properties + - name: Make application.properties run: | cd ./be/issue-tracker/src/main/resources - echo "${{ secrets.DB_URL }}" > ./application.properties - echo "${{ secrets.DB_USERNAME }}" > ./application.properties - echo "${{ secrets.DB_PASSWORD }}" > ./application.properties - echo "${{ secrets.S3_ACCESS_KEY }}" > ./application.properties - echo "${{ secrets.S3_SECRET_KEY }}" > ./application.properties + echo "spring.datasource.url=${{ secrets.DB_URL }}" > application.properties + echo "spring.datasource.username=${{ secrets.DB_USERNAME }}" >> application.properties + echo "spring.datasource.password=${{ secrets.DB_PASSWORD }}" >> application.properties + echo "cloud.aws.credentials.access-key=${{ secrets.S3_ACCESS_KEY }}" >> application.properties + echo "cloud.aws.credentials.secret-key=${{ secrets.S3_SECRET_KEY }}" >> application.properties shell: bash - name: Grant execute permission for gradlew