diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1d138347..9c0a66f9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -72,6 +72,7 @@ jobs: # 새로운 이미지로 컨테이너 실행 sudo docker run -d --name blog-backend-${NEW_PORT} -p ${NEW_PORT}:7777 \ -v ~/blog/application.yml:/app/config/application.yml \ + -v ~/blog/h2:/app/h2 \ jinia91/blog-backend:${{ github.sha }} java -jar blog-backend.jar --spring.config.location=file:/app/config/application.yml # 새로운 컨테이너의 Health Check