primocms / primo

Primo is a visual CMS with a built-in code editor, Svelte blocks, and static site generator.
https://primocms.org
MIT License
1.92k stars 474 forks source link

Deploy failed: Looking for branch 'main', primo (and forks) has 'master' #311

Closed brasilikum closed 11 months ago

brasilikum commented 11 months ago

Please add as much information as possible to help us reproduce the issue.

  1. Hit the "Deploy" button
  2. Input Auth token
  3. Select existing primo (forked) repo

Expected

The repo deploys

Actual

The spinner keeps spinning. Opening the console reveals a failed request to github repo with branch=main

Workaround

Go to your fork and create a new branch main from master

brasilikum commented 11 months ago

Hmm, I get the issue now: I assumed my sourece repo would be the same as the deploy repo, which is not the case. This merge request was accidential, sorry.