Adding publish_post trigger