The webhook is triggered also for posts that are excluded in Gatsby config
KarlBaumann opened this issue · comments
Karlis Baumanis commented
gatsby-source-wordpress
plugin has a Type parameter which allows to exclude certain post types. This exclude list should be taken into account when triggering web hook.
In the worst case there should be a filter which allows to exclude post types ourselves.
Jack Sellwood commented
Hi @KarlBaumann, this isn't possible since WPGatsby can't fetch gatsby-config.js options. Instead, use this filter to exclude post types from the action monitor: