Octopus.Action.CustomScripts.PreDeploy path= Error

I’ve been making some changes (involving tenants) to an IIS deployment step that includes a custom step template. I’ve undone all of my changes just to try to get a good deployment, but I’m still getting an error when an automatically created Octopus.Action.CustomScripts.PreDeploy.ps1 runs.

Its contents are just

Which of course causes an error.
I’m sure this is supposed to filled in by some variable but I believe I have all of them filled in. Does anyone know what variable it’s looking for or how to get it to skip creating a Octopus.Action.CustomScripts.PreDeploy.ps1?



I found the error, it was user-generated.
Please close ticket, Thanks


Hi Cam,

Glad you figured it out :slight_smile: Closing the ticket as requested.
Please do not hesitate to reach out if you have further issues or questions.

Warm Regards,