feat: add netlify.toml for PR deploy previews#534
Conversation
|
Welcome to the Microcks community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. Hope you have a great time there! |
d4987bd to
1055444
Compare
|
this is duplicate. There is already a robost PR here |
If it is, I am happy to close it. |
|
#475 merged |
1055444 to
0390c2e
Compare
@yada I tested this (merged #475 + my PR combined) live by triggering a Deploy Preview on my own fork. The Security and Cache headers are correctly injected. screenshot of the terminal output proving the headers and redirects are working on the preview URL: |
… and version pinning Adds on top of PR microcks#475: - Hugo 0.123.0 and Node 20 version pinning - Redirect rules for /docs/* and /blog/* URLs - Security headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy) - Cache-Control headers for JS, CSS, and image assets - Environment-specific HUGO_ENV for preview and staging contexts Signed-off-by: Vaishnav88sk <vaishnavsk8804@gmail.com>
0390c2e to
3ca8be7
Compare
|
@yada I think good to merge! |


Description
Improve the contribution experience by making PR reviews faster and more efficient. This addresses issue #334 where the community requested Netlify preview setup.
This PR adds a
netlify.tomlconfiguration file to enable Netlify's deploy preview functionality:Related issue(s)
#334