This plugin will helps you to trigger a build of Gatsby at the time of post/page save or updates with different types.