From 4fc2dd44052ac96f3c0308cbc74bdda50cfc8dd7 Mon Sep 17 00:00:00 2001 From: Akshay Kumar Date: Thu, 6 Apr 2023 15:30:25 +0530 Subject: [PATCH] Refactor Deployment Error Message --- lib/main.js | 4 ++-- src/main.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/main.js b/lib/main.js index c356d2be5..6a18fef2f 100644 --- a/lib/main.js +++ b/lib/main.js @@ -56,8 +56,8 @@ function main() { isDeploymentSuccess = false; if (error.statusCode == 403) { core.setFailed("The deployment to your web app failed with HTTP status code 403. \ - Your web app may have networking features enabled which are blocking access (such as Private Endpoints).\ - For more information, please follow https://aka.ms/forbidden-deployment-error"); + Your web app may have networking features enabled which are blocking access (such as Private Endpoints). \ + For more information about deploying to virtual network integrated web apps, please follow https://aka.ms/gha/deploying-to-network-secured-sites"); } else { core.setFailed("Deployment Failed, " + error); diff --git a/src/main.ts b/src/main.ts index 33b416537..e36a92020 100644 --- a/src/main.ts +++ b/src/main.ts @@ -50,8 +50,8 @@ export async function main() { if (error.statusCode == 403) { core.setFailed("The deployment to your web app failed with HTTP status code 403. \ - Your web app may have networking features enabled which are blocking access (such as Private Endpoints).\ - For more information, please follow https://aka.ms/forbidden-deployment-error"); + Your web app may have networking features enabled which are blocking access (such as Private Endpoints). \ + For more information about deploying to virtual network integrated web apps, please follow https://aka.ms/gha/deploying-to-network-secured-sites"); } else { core.setFailed("Deployment Failed, " + error); } @@ -68,4 +68,4 @@ export async function main() { } } -main(); +main(); \ No newline at end of file