Skip to content

Commit

Permalink
updating appsettings before deployment (#13827)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrutaKawade authored Nov 4, 2020
1 parent e0a7b3a commit e451e59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export class AzureRmWebAppDeploymentProvider{
public async DeployWebAppStep() {
tl.debug("Performing container based deployment.");

let containerDeploymentUtility: ContainerBasedDeploymentUtility = new ContainerBasedDeploymentUtility(this.appService);
await containerDeploymentUtility.deployWebAppImage(this.taskParams);

if(this.taskParams.AppSettings) {
var customApplicationSettings = ParameterParser.parse(this.taskParams.AppSettings);
await this.appServiceUtility.updateAndMonitorAppSettings(customApplicationSettings);
}

let containerDeploymentUtility: ContainerBasedDeploymentUtility = new ContainerBasedDeploymentUtility(this.appService);
await containerDeploymentUtility.deployWebAppImage(this.taskParams);

await this.appServiceUtility.updateScmTypeAndConfigurationDetails();
}

Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureWebAppContainerV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 178,
"Patch": 0
"Patch": 1
},
"minimumAgentVersion": "2.104.1",
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureWebAppContainerV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"version": {
"Major": 1,
"Minor": 178,
"Patch": 0
"Patch": 1
},
"minimumAgentVersion": "2.104.1",
"groups": [
Expand Down

0 comments on commit e451e59

Please sign in to comment.