Skip to content

Commit

Permalink
[fix] ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
junseokkim authored Jan 6, 2024
1 parent da3865e commit ff82ee5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/umc-service-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
# Secrets에 저장한 값을 application.yml 파일에 쓰기
echo "${{ secrets.DEV_YML }}" >> ./application.yml
cd ../../../
shell: bash

# 2. Spring Boot 애플리케이션 빌드
Expand Down Expand Up @@ -62,6 +60,7 @@ jobs:
key: ${{ secrets.KEY }}
port: 22
script: |
cd /
sudo docker-compose -f docker-compose.dev.yml down
sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPO }}-dev
sudo docker-compose -f docker-compose.dev.yml up -d
Expand Down

0 comments on commit ff82ee5

Please sign in to comment.