rossjrw / pr-preview-action

GitHub Action that deploys a pull request preview to GitHub Pages, similar to Vercel and Netlify, and cleans up after itself.
https://github.com/marketplace/actions/deploy-pr-preview
MIT License
287 stars 46 forks source link

Error: The process '/usr/bin/git' failed with exit code 255 #88

Closed Samuel-Morgan-Tyghe closed 3 months ago

Samuel-Morgan-Tyghe commented 3 months ago

filename overflows max-path len by 4: github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/github-pages-deploy-action-temp-deployment-folder/pr-preview/pr-8/.vscode rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1205) [sender=3.1.3] Running post deployment cleanup jobs… 🗑️ /usr/bin/git checkout -B github-pages-deploy-action/lgw163e8t Switched to a new branch 'github-pages-deploy-action/lgw163e8t' /usr/bin/chmod -R +rw github-pages-deploy-action-temp-deployment-folder /usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force error: failed to delete '/home/runner/work/contract/contract/github-pages-deploy-action-temp-deployment-folder': File name too long Error: The process '/usr/bin/git' failed with exit code 255 Notice: Deployment failed! ❌

Samuel-Morgan-Tyghe commented 3 months ago

so its my config replacing source-dir: ./ to source-dir: . fixes it 🤔