github-pages-deploy-action: The process 'git' failed with exit code 128
Describe the bug
The action throws an error
The process 'git' failed with exit code 128
Reproduce
Simply by deploying to a custom branch
Logs
git init
Reinitialized existing Git repository in /home/runner/work/redacted/redacted/.git/
git config user.name redacted
git config user.email redacted@redacted.io
git ls-remote --heads https://***@github.com/redacted/redacted.git staging | wc -l
9060ab1802d8825270a2dd031f97c34ad99e4153 refs/heads/staging
git switch master
Switched to a new branch 'master'
M components/redacted/redacted.vue
Branch 'master' set up to track remote branch 'master' from 'origin'.
git fetch origin
fatal: could not read Username for 'https://github.com': No such device or address
The deployment encountered an error. ā
##[error]The process 'git' failed with exit code 128
Completed Deployment ā
##[error]Node run failed with exit code 1
Additional Comments
This is due to
git fetch originchange from the last update Pinning our workfile to use 3.1.1 fixes this.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 21 (9 by maintainers)
Commits related to this issue
- Test deployment fix https://github.com/JamesIves/github-pages-deploy-action/issues/111 — committed to emgag/ads.txt by maetthu 4 years ago
Released and tagged as
3.1.5: https://github.com/JamesIves/github-pages-deploy-action/releases/tag/3.1.5@JamesIves I can confirm that the newly released action works š Thank you for the quick fix.
@releases/v3-testworks perfectIām getting this in 3.1.4, has it regressed?