Skip to content

Commit

Permalink
Chore: 빌드 위치 디버깅 및 빌드 후 파일을 복사하는 방식으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yugyeom-ghim committed Oct 31, 2024
1 parent 90415a0 commit 94371e1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
deploy:
name: Production Deploy
runs-on: self-hosted
defaults:
run:
working-directory: ./notai
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -38,11 +35,15 @@ jobs:
- name: Build with Gradle
run: |
pwd
ls -la
chmod +x ./gradlew
./gradlew clean bootJar
- name: Deploy with Docker Compose
- name: Copy files and Deploy
run: |
cp -r . /home/yugyeom/notai/
cd /home/yugyeom/notai
docker-compose down
docker-compose up -d --build
env:
Expand Down

0 comments on commit 94371e1

Please sign in to comment.