diff --git a/scripts/prepdocs.sh b/scripts/prepdocs.sh index b75a5efc96..048d07b2db 100755 --- a/scripts/prepdocs.sh +++ b/scripts/prepdocs.sh @@ -4,10 +4,9 @@ echo 'Running "prepdocs.py"' -AZURE_USE_AUTHENTICATION=$(azd env get-value AZURE_PUBLIC_NETWORK_ACCESS) AZURE_PUBLIC_NETWORK_ACCESS=$(azd env get-value AZURE_PUBLIC_NETWORK_ACCESS) -if [ -n "$AZURE_USE_AUTHENTICATION" ] && [ "$AZURE_PUBLIC_NETWORK_ACCESS" = "Disabled" ]; then +if [ -n "$AZURE_PUBLIC_NETWORK_ACCESS" ] && [ "$AZURE_PUBLIC_NETWORK_ACCESS" = "Disabled" ]; then echo "AZURE_PUBLIC_NETWORK_ACCESS is set to Disabled. Exiting." exit 0 fi