Skip to content

Conversation

@Caesarsage
Copy link
Contributor

Description

This PR adds a netlify.toml configuration file to enable deploy previews for pull requests, addressing the issue where previews don't reflect PR branch changes.

Related to fixing #334 effort

Action Required by Maintainers

This PR provides the configuration, but a maintainer with Netlify access must:

  1. Go to Netlify Site Settings → Build & deploy → Deploy contexts
  2. Set Deploy Previews to Any pull request against your production branch / branch deploy branches
  3. Set Branch Deploy to Let me add individual branches and choose the additional branches or select None if the deploy branch is the production branch only.
  4. Verify that new PR commits trigger preview builds automatically

References:

Additional Notes

  • No version pinning: Uses Netlify's default Hugo/Node versions since current builds are passing

@yada @lbroudoux Please review and enable deploy previews in the Netlify dashboard once merged.

Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
@yada yada added kind/enhancement New feature or request automated issue labels Dec 18, 2025
@yada
Copy link
Member

yada commented Dec 18, 2025

@Caesarsage have you been able to test it on a fork and your own setup of Netlify?

@Caesarsage
Copy link
Contributor Author

@Caesarsage have you been able to test it on a fork and your own setup of Netlify?

Hi @yada,

I’ve tested the Netlify setup on my fork.

Caesarsage#3

The configuration seems correct, the preview shows but I’m running into a build issue—npm run build times out on some partials on Netlify, even though it builds fine locally. This is likely due to a timeout or environment difference,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants