Currently static sites can only be deployed from source code stored in GitHub or GitLab. I use a Gitea and people are starting to use alternatives like sourcehut.
It would be great if static sites could be deployed from an arbitrary repository source so these alternatives would work and people self-hosting their code could publish as well.
One work around could be making it so static sites could be deployed via spaces easily.