During a new release I’d like to copy app_offline.htm file to the currently active deployment folder. This will take my app offline while the new version is deployed.
However i don’t seem to be able to find the previous deployment path.
i tried using Octopus.Release.CurrentForEnvironment.Number but that doesn’t match the folder name.
Is there a way to find the previous deployment path for a web application?