Greetings, I’m new to Octopus Deploy. I’m currently trying to understand it all, so forgive my knowledge gaps here…
I’m looking for advice on the “best practice” for this particular scenario.
The scenario is the following procedure for deployment. I’d like to:
- Deploy a package to a tentacle. (using “Deploy a Package” step seems to copy and extract the .zip package to the default package directory for the OD tentacle).
- Edit some files inside that extracted package folder.
- Copy all the package files (including the updated files) to a final output folder.
Basically after the package is deployed, I’m wanting to treat the default package folder path as a “staging” area for the package files, perform some changes to the files (namely some configuration files), and then AFTER the changes are made, copy the files to a final output destination folder.
From what I can tell, this seems to be something that I’d have to write a custom script for, but with all the nice built-in features of Octopus Deploy and the community plugins, I just can’t come to terms that there isn’t some easy-to-use step plugin that does exactly this without resorting to a custom script.
So is that true? Is the only way to achieve this by writing a custom script via Powershell or similar?
Or is there another step / plugin I can add that will achieve Step #3 for me?
Again, this may just be me needing to figure out the “norm” for OD best practices…
Thanks for any help!