Deploying to an empty repository fails because it cannot list the commits for the main branch.
Of note, deploying to a repository without a main branch also fails.
Reproduction
Create a repository in GitHub
In Primo, choose this new repository to deploy your website.
Other way of reproducing:
In the empty repository, make a commit (e.g. create a README) in the master branch.
Description
Deploying to an empty repository fails because it cannot list the commits for the main branch. Of note, deploying to a repository without a main branch also fails.
Reproduction
Other way of reproducing:
Workaround
In the repository, create (an empty) branch main.