From f664141550095f99d683120b01fb20fea8fb5273 Mon Sep 17 00:00:00 2001 From: jay91537 Date: Sun, 8 Jun 2025 01:08:29 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20(Infra)=20ssl=20=EC=84=A4=EC=A0=95?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=A5=B8=20workflow=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CICD.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 974a802..ee785f2 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -43,10 +43,10 @@ jobs: steps: - name: Set target IP run: | - STATUS=$(curl -o /dev/null -w "%{http_code}" "http://${{ secrets.LIVE_SERVER_IP }}/env") + STATUS=$(curl -k -o /dev/null -w "%{http_code}" "https://${{ secrets.LIVE_SERVER_IP }}/env") echo $STATUS if [ $STATUS = 200 ]; then - CURRENT_UPSTREAM=$(curl -s "http://${{ secrets.LIVE_SERVER_IP }}/env") + CURRENT_UPSTREAM=$(curl -ks "https://${{ secrets.LIVE_SERVER_IP }}/env") else CURRENT_UPSTREAM=green fi @@ -105,7 +105,7 @@ jobs: - name: Check deploy server URL uses: jtalk/url-health-check-action@v3 with: - url: http://${{ secrets.LIVE_SERVER_IP }}:${{env.STOPPED_PORT}}/env + url: https://${{ secrets.LIVE_SERVER_IP }}:${{env.STOPPED_PORT}}/env max-attempts: 5 retry-delay: 10s