Skip to content

Commit c435a73

Browse files
committed
fix: deploy.yml 수정
1 parent 696e422 commit c435a73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
key: ${{ secrets.EC2_PRIVATE_KEY }}
7070
script_stop: true
7171
script: |
72+
docker pull ${{ steps.login-ecr.outputs.registry }}/music:${{env.date}}
73+
docker stop music || true
74+
docker rm music || true
7275
docker run -d \
7376
-e TZ=Asia/Seoul \
7477
--name music \

0 commit comments

Comments
 (0)