Refreshed a github personal access fine-grained token by logging on to the relevant account and going to https://github.com/settings/personal-access-tokens/
For uploading files to a repository, the permissions needed are:
User permissions: None
Per-repository permissions: (for the relevant repo)
Read access to metadata
Read and write access to actions, code, and workflows.
The post about google apps script code to auto-upload to github-pages is at https://hnsws.blogspot.com/2024/03/workaround-for-cors-errors-on-api-calls.html
No comments:
Post a Comment