github-pages-deploy-action: Cleanup step fails to complete
In our workflow we are seeing the following error:
Running post deployment cleanup jobs… 🗑️
/usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force
##[error]The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 1 ❌
It seems like git should be able to remove the worktree, so I’m not sure why it is failing.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (7 by maintainers)
It gets printed right before the generic git error;
@SooluThomas Can you turn disable
SILENTand re-run the job? It’s also recommended that you lock the version to the latest release as it’s possible GitHub Actions is running a cached version:JamesIves/github-pages-deploy-action@3.5.9Thanks a lot for the quick fix!