Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

♻️ Refactor: 변경된 구조에 따라 코드를 수정하였습니다. (#54) #14

♻️ Refactor: 변경된 구조에 따라 코드를 수정하였습니다. (#54)

♻️ Refactor: 변경된 구조에 따라 코드를 수정하였습니다. (#54) #14

Workflow file for this run

name: Deploy
on:
push:
branches:
- dev
paths-ignore:
- '.github/workflows/**'
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Build Spring Boot (JAR)
run: ./gradlew bootJar -Penv=test
- name: Copy JAR to shared volume
run: cp build/libs/*.jar /deploy/app.jar
- name: Restart Docker with New JAR
run: |
cd /deploy
docker-compose down
docker-compose up -d --build
- name: Wait for test server to be healthy
run: |
echo "🔍 Checking https://yakplus-test.techlog.dev/actuator/health ..."
curl --silent --fail \
--retry 5 --retry-connrefused --retry-delay 5 \
https://yakplus-test.techlog.dev/actuator/health