gatsby-source-drupal prevent draft content leaking to production when fastbuilds enabled #38591
Unanswered
DavidMCarek
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm running into an issue where I'd like to use Gatsby's preview functionality along with my Drupal site. As far as I can tell getting preview to display draft content requires that drafts be entered into the fastbuild log on Drupal. This is working great without issue. However, I'd also like for the live site to build using fastbuilds and only build the published content. The crux of the issue is that when I run a fastbuild for the live site and Gatsby fetches the changes via the fastbuild log it also pulls those draft updates and ends up sending the drafts out along with the published content. Anything to point me in the right direction would be helpful!
I've tried looking through the configuration to see if there was some sort of filter I could apply to get this to work but I had no such luck. I also attempted making a secondary api user that only had access to published content but that too was unsuccessful.
Beta Was this translation helpful? Give feedback.
All reactions