Skip to content

Commit

Permalink
[FIX] Nginx 배포 워크플로우 deploy 에러 수정
Browse files Browse the repository at this point in the history
Docker 컨테이너 실행 스크립트 수정: 백슬래시 뒤 주석 제거
YAML에서는 백슬래시 뒤에 주석을 추가할 수 없다. 

Fixes: TICO-58
Ref: TICO-148
Related to: TICO-152
  • Loading branch information
bu119 authored Jun 29, 2024
1 parent 6aeafa5 commit c37cf00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nginx-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ jobs:
docker rmi ${{ env.IMAGE_NAME }} || true # 기존 이미지 삭제
docker pull ${{ env.IMAGE_NAME }} # 최신 이미지 다운로드
docker run -d --name ${{ env.CONTAINER_NAME }} \
-v /etc/letsencrypt/:/etc/letsencrypt/ \ # 인증서 마운트
-p 80:80 -p 443:443 \ # 포트 매핑
${{ env.IMAGE_NAME }} # 새로운 컨테이너 실행
-v /etc/letsencrypt/:/etc/letsencrypt/ \
-p 80:80 -p 443:443 \
${{ env.IMAGE_NAME }}

0 comments on commit c37cf00

Please sign in to comment.