So today, my deploys started failing with this error message:
4:22:33 PM: Starting to prepare the repo for build 4:22:33 PM: Preparing Git Reference refs/heads/master 4:22:35 PM: Error fetching branch: https://x-access-token:email@example.com/freesewing/freesewing.org refs/heads/master 4:22:35 PM: Failing build: Failed to prepare repo 4:22:35 PM: failed during stage 'preparing repo': exit status 1
Here’s an example: https://app.netlify.com/sites/fs-org-en/deploys/5d3b0c99b865ac02eee12cfd
Deploys have been working fine, so this is a new and unexpected issue. I tried to re-assign the repo, (triggering the GitHub permissions thing) but to no avail.
What I changed today is configure 4 additional sites from the same repo. Allow me to explain:
For weeks now, I’ve been publishing a site from this repo as en.freesewing.org.
Today, I added 4 new sites:
My site is multilingual, and I want each site on its own subdomain. The language is controlled by a environment variable configured in each site’s settings.
The initial deploy for each of these went through, but ever since, all updates (on all these sites) throw this Error fetching branch error.
Now I don’t see an obvious reason why one would be related to the other, but since it’s the thing I changed right before things broke, I’m guessing it might cause an issue somewhere.
I’m a bit stumped here, so I’m open to any ideas on how to troubleshoot this.