Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@ function main() {
}
catch (error) {
isDeploymentSuccess = false;
core.setFailed("Deployment Failed with Error: " + error);
if (error.statusCode == 403) {
core.setFailed("The deployment to your web app failed with HTTP status code 403. \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tulikac can you please take a look the error message here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am merging this PR for now but wont release until @tulikac's confirmation.

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");
}
else {
core.setFailed("Deployment Failed, " + error);
}
}
finally {
if (deploymentProvider != null) {
Expand Down
Loading