I've downloaded a website publish profile form Azure Portal. After importing the publish profile in Visual Studio I can publish my website without providing credentials by clicking ProjectName > Publish
.
Importing produced a series of files
- xxxxx - FTP.pubxml
- xxxxx - FTP.pubxml.user
- xxxxx - FTP-publish.ps1
- xxxxx - Web Deploy.pubxml
- xxxxx - Web Deploy.pubxml.user
- xxxxx - Web Deploy-publish.ps1
I'm wondering if I could use either of the powershell files in my simple deployment process.
When I tried to run xxxxx - Web Deploy-publish.ps1
i got an error:
ps1 : An error occurred during publish. Cannot bind argument to parameter 'publishProperties' because it is null.
I guess I'm missing some parameters. Can somebody provide me with an example how to run it properly?