Created
April 24, 2024 11:59
-
-
Save NenoLoje/e3b4bc0cffd1e96e273ae02f40579a7b to your computer and use it in GitHub Desktop.
Binding syntax for IISWebAppManagementOnMachineGroup@0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- task: IISWebAppManagementOnMachineGroup@0 | |
displayName: 'Configure IIS' | |
inputs: | |
EnableIIS: true | |
IISDeploymentType: 'IISWebsite' | |
ActionIISWebsite: 'CreateOrUpdateWebsite' | |
WebsiteName: '$(iisWebsite)' | |
WebsitePhysicalPath: '%SystemDrive%\inetpub\wwwroot\$(iisWebsite)' | |
WebsitePhysicalPathAuth: 'WebsiteUserPassThrough' | |
AddBinding: true | |
Bindings: | | |
{ | |
"bindings":[ | |
{ | |
"protocol":"http", | |
"ipAddress":"All Unassigned", | |
"port":"80", | |
"hostname":"", | |
"sslThumbprint":"", | |
"sniFlag":false | |
} | |
] | |
} | |
CreateOrUpdateAppPoolForWebsite: true | |
AppPoolNameForWebsite: '$(iisAppPool)' | |
DotNetVersionForWebsite: 'No Managed Code' | |
PipeLineModeForWebsite: 'Integrated' | |
AppPoolIdentityForWebsite: 'ApplicationPoolIdentity' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment