I have a site that was building fine up until my most recent updates – I rarely update. The updates build find locally. I can push the updates to GitHub. Netlify is not deploying the updates from GitHub. The site builds cleanly locally via blogdown to build a hugo static site.
The log from Netlify deploy reads:
failed to extract cache”
git ref refs/heads/master does not exist or you do not have permissions.”
I am confused.
I read Netlifly documentation: [ build hooks, site deploys, troubleshooting tips, Manage build dependencies, etc. ]. I re-red “Blogdown + Netlify” documentation, and compared this non-deploying instance to a currently building (working/updating) instance.
I’m drawing blanks. Can you please help.?
The Error message at Netlfy > Deploy is…
1:08:28 PM: Build ready to start 1:08:30 PM: build-image version: 8e315e54bc4032a32e73290be556cde4f8348c12 1:08:30 PM: build-image tag: v2.8.2 1:08:30 PM: buildbot version: 45cd00068410d70db72c9672cdd014995488e12a 1:08:30 PM: Fetching cached dependencies 1:08:30 PM: Starting to download cache of 254.9KB 1:08:30 PM: Finished downloading cache in 99.11849ms 1:08:30 PM: Starting to extract cache 1:08:30 PM: Failed to fetch cache, continuing with build 1:08:30 PM: Starting to prepare the repo for build 1:08:30 PM: git ref refs/heads/master does not exist or you do not have permission 1:08:30 PM: Failing build: Failed to prepare repo 1:08:30 PM: failed during stage 'preparing repo': git ref refs/heads/master does not exist
The GitHub Webhooks page looks like this:
More Problems ???
At one point I was comparing this deploy to yet another different Netlify build that does not use Hugo. At that point I tried to institute build hooks – this may have been a mistake. I have since removed the build hooks. There is still a deploy key that I cannot seem to delete:
Can you please help me reset my github hugo site to build and deploy at Netlify when I trigger with a
git push from my LFS?
Thanks for reading this far.