diff --git a/connect-vpn/action.yml b/connect-vpn/action.yml index c49337d..25b56a4 100644 --- a/connect-vpn/action.yml +++ b/connect-vpn/action.yml @@ -217,6 +217,12 @@ runs: head -10 || true } + if [ "$DEBUG_OTP_ONLY" = "true" ]; then + debug_print_otps + echo "debug-otp-only=true 이므로 VPN 로그인 시도 없이 종료합니다." + exit 0 + fi + echo "F5 웹 로그인 시작: ${VPN_HOST} (user=${VPN_USER})" curl_common -L -c "$COOKIE_JAR" "$VPN_HOST/" -o "$WORKDIR/01-login.html" @@ -232,12 +238,6 @@ runs: exit 1 fi - if [ "$DEBUG_OTP_ONLY" = "true" ]; then - debug_print_otps - echo "debug-otp-only=true 이므로 VPN 로그인 시도 없이 종료합니다." - exit 0 - fi - host_no_scheme="${VPN_HOST#https://}" host_no_scheme="${host_no_scheme#http://}" host_no_scheme="${host_no_scheme%%/*}"