add action to create new post in publish