Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/HanaFun/HanaFun_BE into account
Browse files Browse the repository at this point in the history
  • Loading branch information
Do760 committed Jul 2, 2024
2 parents 5258fe1 + bbc38e6 commit 2daa359
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI/CD with Gradle

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

permissions:
contents: read
Expand All @@ -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
Expand All @@ -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
sudo docker image prune -f

0 comments on commit 2daa359

Please sign in to comment.