Post Deploy - read log file and display in UI?

I have a post deploy script which generates a log file on disk.

Is it possible to read this log file and display it in the UI as part of the deployment log?

Hi James,

Thanks for reaching out. You can totally do this with raw Powershell using the Get-Content cmdlet.

Hope that helps,
Dalmiro

Edit: When you say Post-Deployment script I’m thinking about a script that runs in your “Package Deployment Step”, and not something that gets triggered once Octopus finishes the deployment. If the Octopus deployment (all the steps) finished, there’s no way to append things to its log.