Skip to content

fix: 임시 비활성화 #45

fix: 임시 비활성화

fix: 임시 비활성화 #45

Workflow file for this run

# 워크플로우 이름 설정
#name: Deploy Spring Boot App
# 워크플로우가 시작될 조건 설정
#on:
# push:
# branches:
# - dev # 배포할 브랜치 설정
#
#jobs:
# deploy:
# runs-on: ubuntu-latest # 실행 환경 설정
#
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v2
#
# - name: Set up JDK 17
# uses: actions/setup-java@v2
# with:
# java-version: '17'
#
# - name: Build with Gradle
# run: ./gradlew build -x test # 테스트 제외하고 빌드
# - name: Build Docker Image
# run: |
# docker build -t your-docker-username/your-image-name:latest .
# docker login -u your-docker-username -p ${{ secrets.DOCKER_PASSWORD }}
# docker push your-docker-username/your-image-name:latest
#
# - name: Deploy to Server
# run: |
# scp build/libs/*.jar username@server_ip:/path/to/deployment/directory
# ssh username@server_ip "sudo systemctl restart your-spring-boot-service"
# env:
# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
#
# - name: Deploy Docker Compose
# run: |
# ssh username@server_ip "cd /path/to/docker-compose-directory && docker-compose up -d"
# env:
# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}