feat: change docs build process #3106
Labels
enhancement
New feature or request
triage
Add this label to issues that should be triaged and prioretized in the next planning call
We've talked about this before, but the current hack we have is starting to get pretty slow, so I wanted us to revisit it again.
Currently, the way we build the website is that we have a script that will loop through all the different branches that have a vX.Y.Z and do a
go mod tidy
andhugo build
. This is not only error prone because at any moment we can delete a branch by mistake but it's also making the process slower every time we add a new release.Netlify offers the solution to map branches to subdomains, but we tried this with @mudler at some point and we couldn't making it work. Keep in mind that setting this up is not only hard to test because it's DNS but also it's easy to break production. I'd like us to either explore this path again, or come up with a different solution. Ideally a solution that doesn't require to build all the branches every time we release, and every time we push to a PR
The text was updated successfully, but these errors were encountered: