Similar to the current forgejo/website repo, the CI should be run on commits to the next and version branches to publish to the live site, and previews should be generated for PRs.
We could probably just trigger the current website CI with a webhook from this repo, but it would need to post the preview comments here instead of there in the case of PRs to this repo.
Alternatively maybe it's a good time to switch to Forgejo Actions?
The CI is not my area of expertise so I'd love input from @dachary, @earl-warren, @crystal, and anyone else who wants to make any suggestions.
Similar to the current [forgejo/website](https://codeberg.org/forgejo/website) repo, the CI should be run on commits to the `next` and version branches to publish to the live site, and previews should be generated for PRs.
We could probably just trigger the current website CI with a webhook from this repo, but it would need to post the preview comments here instead of there in the case of PRs to this repo.
Alternatively maybe it's a good time to switch to Forgejo Actions?
The CI is not my area of expertise so I'd love input from @dachary, @earl-warren, @crystal, and anyone else who wants to make any suggestions.