Skip to content

Commit

Permalink
cd: 배포 테스트 위치 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rdyjun committed Dec 12, 2024
1 parent 6bc683d commit 54ca8af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ jobs:
with:
fetch-depth: 0

# Docker Compose로 전체 애플리케이션 빌드 및 실행 (테스트용)
- name: Run Docker Compose for testing
run: |
docker compose up --build -d
continue-on-error: false

# Docker Hub 로그인
- name: Log in to Docker Hub
uses: docker/login-action@v2
Expand Down Expand Up @@ -79,6 +73,12 @@ jobs:
scp -r ./client/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SERVER_IP }}:/${{ secrets.SSH_USER }}/web18-inear-test/nginx/html/
fi
# Docker Compose로 전체 애플리케이션 빌드 및 실행 (테스트용)
- name: Run Docker Compose for testing
run: |
docker compose up --build -d
continue-on-error: false

# 서버에서 파일을 최신화 하고, 배포 스크립트를 통해 실제 배포 진행
- name: Deploy with Docker Compose on server
run: |
Expand Down

0 comments on commit 54ca8af

Please sign in to comment.