You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a tip that might be useful for the main README.md. I'm adding it here just in case I ever hit this again in my idiocy and can find the answer again.
I have a repo that uses github-pages-deploy-action and has been doing it just fine for a couple years or more. But I just noticed that the action stopped working. It was failing with:
/usr/bin/git fetch --no-recurse-submodules --depth=1 origin gh-pages
fatal: missing blob object 'dd0f3edd5ca5b6032b5e7c5a89aec41c9803606c'
error: remote did not send all necessary objects
Running post deployment cleanup jobs… 🗑️
/usr/bin/git checkout -B github-pages-deploy-action/jwruoteje
Error: The cwd: /home/runner/work/MAPL/MAPL/github-pages-deploy-action-temp-deployment-folder does not exist!
After trolling through the commits, I realized things started failing when I went from:
in all of my actions to speed things up (though really, the blobless clone was the main thing). Turns out, fetch-depth: 0 is not a good thing with this action. It caused the:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This is a tip that might be useful for the main
README.md
. I'm adding it here just in case I ever hit this again in my idiocy and can find the answer again.I have a repo that uses
github-pages-deploy-action
and has been doing it just fine for a couple years or more. But I just noticed that the action stopped working. It was failing with:After trolling through the commits, I realized things started failing when I went from:
to:
in my docs workflow file.
Now, I added the:
in all of my actions to speed things up (though really, the blobless clone was the main thing). Turns out,
fetch-depth: 0
is not a good thing with this action. It caused the:to fail (which is obvious in hindsight).
Beta Was this translation helpful? Give feedback.
All reactions