github-pages-deploy-action: Permission denied

When using actions/checkout@v1, I receive the following error from this action:

 Publish gh-pagess
Deployment Failed ❌
Run JamesIves/github-pages-deploy-action@releases/v3
Checking configuration and starting deployment… 🚦
Deploying using Access Token… 🔑
Configuring git…
Git configured… 🔧
Starting to commit changes…
##[error]The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 ❌
Deployment Failed ❌

If I switch to actions/checkout@v2, everything works fine. However, that breaks several other actions I use, and it’s not feasible to upgrade them all at this time.

Shouldn’t this lib be backwards-compatible with both? If not, can I downgrade to a version of it that is/which one would that be?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

To add to the conversation am getting the same error with a new repo

##[error]The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 128 ❌

Build is here: https://github.com/csi-lk/csi.lk/runs/571098491?check_suite_focus=true

Workflow: https://github.com/csi-lk/csi.lk/blob/537663b7611341e35b4a9e78ced53778cbb63eef/.github/workflows/master.yml

I’ll start trying to debug see where I get


EDIT: nevermind I spelt my secret name wrong, got it working fine