We have following two lines in the deployment script, which grabs the unencrypted web.config file before it is encrypted.
New-OctopusArtifact web.config
Encrypt-ConfigFile web.config
However, we are always getting the encrypted one.
Any explanation what’s going on here? How should I work around this?
Thanks