I'm not sure if it's okay to post Courier questions, but I am not sure what to do.
Basically, when we run Courier to move items between environments, I need to get the content type of what is being deployed and then run one line of code based on that content type. Very simply:
if (contentType.Alias == "somethingIWillSpecify")
{
// Do one little thing.
}
Where in my Umbraco site can I implement this code? We're running Umbraco 7.4.3 and Courier 2.52.
Run some code when deploying with Courier
Good day!
I'm not sure if it's okay to post Courier questions, but I am not sure what to do.
Basically, when we run Courier to move items between environments, I need to get the content type of what is being deployed and then run one line of code based on that content type. Very simply:
Where in my Umbraco site can I implement this code? We're running Umbraco 7.4.3 and Courier 2.52.
Thanks!
Jeremy
is working on a reply...