What is the best way to swap out a file

I wish to have a robots.txt file that blocks all crawlers for all environment apart from production.

How can I get octopus to swap out a file when we move to production environment.

Is the only way powershell script?

Hi John,

Thanks for getting in touch. Correct, the only way would be using a Powershell/C# script step scoped only to your production environment.

Best regards,