Skip to content

Commit

Permalink
Merge pull request #99 from Azure/patelchandni/fix-deployment
Browse files Browse the repository at this point in the history
deployement issue for manifest file
  • Loading branch information
ahmelsayed authored Aug 23, 2021
2 parents a07a1b1 + 326514f commit 615e485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/publishers/zipDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class ZipDeploy {
if (isDeploymentSucceeded) {
await context.kuduServiceUtil.postZipDeployOperation(deploymentId, deploymentId);
}
await context.kuduServiceUtil.updateDeploymentStatus(isDeploymentSucceeded, null, {
await context.kuduServiceUtil.updateDeploymentStatus(isDeploymentSucceeded, deploymentId, {
'type': 'Deployment',
'slotName': context.appService ? context.appService.getSlot() : 'production'
});
Expand All @@ -52,9 +52,9 @@ export class ZipDeploy {
}

if (appSettings.WEBSITE_RUN_FROM_PACKAGE !== undefined &&
appSettings.WEBSITE_RUN_FROM_PACKAGE.trim() === '1' &&
appSettings.WEBSITE_RUN_FROM_PACKAGE.trim() === '0' &&
(context.os === undefined || context.os === RuntimeStackConstant.Linux)) {
Logger.Warn("Detected WEBSITE_RUN_FROM_PACKAGE is set to '1'. If you are deploying to a Linux " +
Logger.Warn("Detected WEBSITE_RUN_FROM_PACKAGE is set to '0'. If you are deploying to a Linux " +
"function app, you may need to remove this app setting.");
return;
}
Expand Down

0 comments on commit 615e485

Please sign in to comment.