Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Jeremy Coulson 61 posts 143 karma points
    Oct 23, 2019 @ 16:15
    Jeremy Coulson

    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:

    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.



Please Sign in or register to post replies

Write your reply to: