I have 10 different sites that are the exact same site files just deployed to 10 different IIS sites. The only difference between the 10 sites is a web.config variable SystemID. This ID is used to pull the clients connectionstring from a DB before the user logs in. Once the user logs in, the connectionstring is used to connect to their site. Is there a way to deploy all 10 sites from a single Octo project? I know I can add multiple Nuget deployment steps (one for each site) but how do I set the SystemID in the config file for each Nuget deployment step. I currently have a project for each site and use an Octo variable to change the value in the config file. But I would really like to have a single project that will do this for all 10 sites.
Asked
Active
Viewed 95 times
1 Answers
3
This should be fairly easy to achieve
If we define multiple steps in the one project as you suggested
We can then define our values for each site
And scope the variable to the individual step
Hope this helps

Matt
- 3,684
- 1
- 17
- 19
-
worked like a charm the very first time. Thanks for your help. – ihatemash May 15 '15 at 14:44