File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -139,27 +139,27 @@ jobs:
139139 docker login --username AWS --password-stdin 174170816230.dkr.ecr.ap-northeast-2.amazonaws.com
140140
141141 # 최신 이미지 pull 및 재시작
142- docker-compose pull app
143- docker-compose up -d
142+ sudo /usr/local/bin/ docker-compose pull app
143+ sudo /usr/local/bin/ docker-compose up -d
144144
145145 echo "Deployment completed"
146146 EOF
147147
148- - name : Health Check
149- run : |
150- echo "Running health check on https://api.bid-market.shop"
151- sleep 30 # 애플리케이션 시작 대기
152-
153- for i in {1..20}; do
154- if curl -f https://api.bid-market.shop/actuator/health; then
155- echo "Health check passed!"
156- exit 0
157- fi
158- echo "Waiting for application... ($i/20)"
159- sleep 10
160- done
161- echo "Health check failed!"
162- exit 1
148+ # - name: Health Check
149+ # run: |
150+ # echo "Running health check on https://api.bid-market.shop"
151+ # sleep 30
152+ #
153+ # for i in {1..20}; do
154+ # if curl -f https://api.bid-market.shop/actuator/health; then
155+ # echo "Health check passed!"
156+ # exit 0
157+ # fi
158+ # echo "Waiting for application... ($i/20)"
159+ # sleep 10
160+ # done
161+ # echo "Health check failed!"
162+ # exit 1
163163
164164 deploy-prod :
165165 name : Deploy to Production
You can’t perform that action at this time.
0 commit comments