"Substitute file" step template
It will be super nice to have a step feature like 'Substitute variables in files' to substitute files.
The need is to overwrite files configuration files which is XML/JSON transformable.
I can have files settings.conf and settings.release.conf where the content is not XML/JSON. Then I want to overwrite settings.conf with content from settings.release.conf. Settings.release.conf contains Octopus variables.
Right now it is configured with a singleliner in PreDeploy.ps1, but it is nicer to have it in an Octopus step.
It could have same field as 'Config transform' step template where it is possible to do:
settings.release.conf => settings.conf
Stones, Tom commented
I have a package that consists of a deploy.ps1 file and a bunch of yaml files. I want to substitute variables in the yaml files before running the deploy.ps1 file. I want to run this deployment on the octopus server.
The "deploy a package" step template won't let me run it on the octopus server.
The "deploy a script" lets me run on the server, but doesn't do variable substitution in files.
@Mehmet does the existing features described in https://octopus.com/docs/deploying-applications/substitute-variables-in-files or https://octopus.com/docs/deploying-applications/configuration-files not already cover whatr you are after?