Since an octopus update we have a small issue regarding deployments scripts (deploy.ps1, post-deploy.ps1 etc)
We have these 2 steps:
- Deploy ARM template (from template file in package)
- Deploy Website from package (which automatically picks up deploy scripts from package)
Normally, deploy scripts were only executed at the second step, which was exactly what we needed. Turns out that a fixed issue is now causing the 1st step to also execute these deploy scripts, something we don’t want.
Is there a way to disable deployment scripts for a specific step? Something like the system variable #Octopus.Action.Package.RunScripts, but then not for the entire process?