Build: separate site publishing form generation (fixes #1356)

This now needs to be called during the release step.