We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35c909b + 68228ac commit 8d51a3eCopy full SHA for 8d51a3e
.github/workflows/cd.yml
@@ -72,9 +72,9 @@ jobs:
72
ln -sf $TARGET_CONF /opt/app/nginx/default.conf
73
echo "🔁 Linked $TARGET_CONF to default.conf"
74
75
- # 컨테이너 내부로 설정 파일 복사
76
- docker cp /opt/app/nginx/default.conf nginx-proxy:/etc/nginx/conf.d/default.conf
77
- echo "📄 Copied default.conf to nginx container"
+ # 현재 심볼릭 링크가 실제로 가리키는 파일 확인
+ ACTUAL_LINK=$(readlink -f /opt/app/nginx/default.conf)
+ echo "📌 Current nginx config link points to: $ACTUAL_LINK"
78
79
# Nginx reload
80
docker exec nginx-proxy nginx -s reload
@@ -88,6 +88,8 @@ jobs:
88
fi
89
90
exit 0
91
+ else
92
+ echo "⚠️ Health check attempt $i failed."
93
94
done
95
0 commit comments