Skip to content

Commit c377ba3

Browse files
authored
Update deploy.yml
1 parent 9b63270 commit c377ba3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ jobs:
105105
106106
# 기존 컨테이너 중지 및 제거
107107
echo "Stopping and removing existing containers..."
108-
docker-compose down || true
108+
sudo docker-compose down || true
109109
110110
# 최신 이미지를 가져오기
111111
echo "Pulling the latest Docker image..."
112-
docker-compose pull
112+
sudo docker-compose pull
113113
114114
# 컨테이너 재실행
115115
echo "Starting containers with Docker Compose..."
116-
docker-compose up -d
116+
sudo docker-compose up -d
117117
118118
echo "Deployment completed successfully!"

0 commit comments

Comments
 (0)