Open amrirasyidi opened 1 year ago
I found success after changing the workflow permission to read and write.
This can be found in Settings -> Actions -> General -> Workflow permissions
in the repository you're trying to deploy.
Let me know if this helps
Sorry to bump, I got the same problem today.
The solution worked for me but I think it should be detailed in the official documentation (maybe troubleshooting section?).
If you get a permissions denied error, you may need to change the workflow permissions to read and write in Settings > Actions > Workflow permissions.
From the docs so it is there, but maybe the screenshot could help too.
I got this error while trying to publish my github pages.
fatal: Authentication failed for 'https://github.com/amrirasyidi/pmed.git/'
I followed the instruction from here and use the script in this repo as the yaml file as such:
I provided the GITHUB_TOKEN ofc.
What can I do to fix this error?