Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Stuck on /usr/bin/git push -f when using self-hosted runner #79

Open
TheBigSasha opened this issue Dec 15, 2022 · 2 comments
Open

Comments

@TheBigSasha
Copy link

When running the gh-pages action self-hosted on Ubuntu Server 22.04 LTS (x86), the task for [email protected] hangs at /usr/bin/git push -f <repo url> <branches> infinitely (left it running for 6 hours).

Screenshot 2022-12-15 at 3 38 15 AM

Screenshot 2022-12-15 at 3 38 59 AM

@Sunny-unik
Copy link

I'm also getting a similar error:

image


Maybe because access_token doesn't have the required permissions, but I don't know which permissions are required.
Given permissions:
image

The steps that I followed for personal access_token are:

  • Create a fine-grained personal access token from developer options
  • Add permissions
  • Create a secret named ACCESS_TOKEN and paste the token in the value
  • Use ACCESS_TOKEN in deploy.yml

@Sunny-unik
Copy link

I'm also tried to use GITHUB_TOKEN with prefix x-access-token:${{ secrets.GITHUB_TOKEN }} but that is also not working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants