When we deploy our application as an IIS web application, we will use “Deploy an IIS Web Site” to create both IIS web site and IIS web application.
The deployment steps look like:
Step
Step Name
Package ID
Deployment Type
Step 1
Create Web Site
DummyPackage
IIS Web Site
Step 2
Create Web Application
ApplicationPackage
IIS Web Application
In step 1, what we want is to create and config an IIS web site, we use a dummy empty package as a workaround since in “Deploy an IIS Web Site” a package ID is required.
Is there a way that we can still use the “Deploy an IIS Web Site” to create and config a web site without using this kind of workaround? Since when we create a release, the DummyPackage is always there and creates confusion.
The DummyPackage workaround its actually not half bad. But it might be more elegant to use the already existing IIS steps in our library instead. If you search for “IIS” you’ll find all of them, including the one to create the website alone: https://library.octopusdeploy.com/
Thanks for creating a uservoice for this. Before 3.4.7, we did use the step templates in library to create web site and web application. However, the templates in library are not like “Deploy an IIS Web Site” with a more friendly UI and also allowing us to specify more settings in IIS, such as multiple IIS bindings. So, that’s why we used “Deploy an IIS Web Site” from 3.4.7.