Hello, I am attempting to deploy my website with GitHub Actions but I am running into some errors:
! [remote rejected] main -> main (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/github-pages.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/szfkamil/Site.git'
I have tried to re-generate the token over ten times, both classic and fine-grained, even applied all permissions, but the same errors keeps appearing after git push
. I also tried to pull before pushing.
This is the section of the guide: https://jekyllrb.com/docs/continuous-integration/github-actions/#setting-up-the-action
This is my path and environment:
I am not sure this is relevant, but there’s a weird behaviour with the .yml file not being denoted as yml but a text file: CleanShot 2023-05-26 at 16.43.16 · CleanShot Cloud