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

✨ Feat: 검색대상 ES 인덱스 지정 (#57) #16

✨ Feat: 검색대상 ES 인덱스 지정 (#57)

✨ Feat: 검색대상 ES 인덱스 지정 (#57) #16

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