From 8e70d695a9bc84dd84abdb7cc5f0f37bc9a5539e Mon Sep 17 00:00:00 2001 From: yubin-im Date: Tue, 2 Jul 2024 16:43:52 +0900 Subject: [PATCH] =?UTF-8?q?build:=20=EC=9E=90=EB=8F=99=EB=B0=B0=ED=8F=AC?= =?UTF-8?q?=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 486de74..9a6aec2 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -2,9 +2,9 @@ name: CI/CD with Gradle on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] permissions: contents: read @@ -19,14 +19,14 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '17' - distribution: 'temurin' + java-version: "17" + distribution: "temurin" - name: make application yml run: | - cd ./src/main/resources - touch ./application.yml - echo "${{ secrets.APPLICATION_YML }}" > ./application.yml + mkdir -p src/main/resources + echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > src/main/resources/application.yml + find src shell: bash - name: Build with Gradle @@ -52,4 +52,4 @@ jobs: sudo docker stop hanafun sudo docker rm hanafun sudo docker run -d -p 8080:8080 --name hanafun "${{ secrets.DOCKER_USERNAME_YUB }}/hanafun:latest" - sudo docker image prune -f \ No newline at end of file + sudo docker image prune -f