shalzz / zola-deploy-action

Github action for building a Zola site and deploying to Github Pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fatal: could not read Password for 'https://***@github.com': No such device or address

naps62 opened this issue · comments

I was having this error when setting up my website (https://github.com/naps62/naps62.github.io)

In my previous setup, with gatsby, I had this:

git remote set-url origin https://naps62:${{ secrets.GITHUB_TOKEN }}@github.com/naps62/naps62.github.io

notice that I'm using naps62:TOKEN instead of just TOKEN
As a hotfix to make this action work, I added naps62: as a prefix to the secret string.

Is this something I'm missing, like a permission on the token itself? or is it a bug with how this action uses the token?

commented

this maybe help

TOKEN: $GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}

Why this is still not fixed in the documentation?