From 0c05c49337a70d95ac30d9536524058adf841ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=84=9C=EC=A7=80?= <103797531+choiseoji@users.noreply.github.com> Date: Fri, 13 Sep 2024 21:59:40 +0900 Subject: [PATCH] =?UTF-8?q?:bug:=20fix:=20env=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CICD.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 8dd458a..ec504e9 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -22,6 +22,15 @@ jobs: java-version: '17' distribution: 'temurin' + - name: Create .env file + run: | + echo "DB_USERNAME=${{ secrets.DB_USERNAME }}" >> JejuDorang/.env + echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> JejuDorang/.env + echo "DB_URL=${{ secrets.DB_URL }}" >> JejuDorang/.env + echo "KAKAO_REST_API_KEY=${{ secrets.KAKAO_REST_API_KEY }}" >> JejuDorang/.env + echo "KAKAO_REDIRECT_URI=${{ secrets.KAKAO_REDIRECT_URI }}" >> JejuDorang/.env + echo "TOUR_API_KEY=${{ secrets.TOUR_API_KEY }}" >> JejuDorang/.env + - name: Grant execute permissions to Gradle Wrapper run: chmod +x gradlew working-directory: JejuDorang