I decided to try out nbdev today, and am getting a similar error as you are. Can’t seem to find much online.
I also get this warning when running nbdev_new:
/Users/[REDACTED]/lib/python3.10/site-packages/ghapi/core.py:101: UserWarning: Neither GITHUB_TOKEN nor GITHUB_JWT_TOKEN found: running as unauthenticated else: warn('Neither GITHUB_TOKEN nor GITHUB_JWT_TOKEN found: running as unauthenticated')
yeah … Even If I create a PAT token following Creating a personal access token - GitHub Docs and then GITHUB_TOKEN=.... nbdev_new
This error disappears but then I still get the errors I put in the description when it runs the actions on github to create the pages .
I already had a PAT in use in terminal, and I still got that user warning. I tried explicitly stating my PAT like you suggested, GITHUB_TOKEN=[PAT] nbdev_new, and it did fix the user warning. But still got the same previous errors in the workflow runs.
Did you create the branch gh-pages?
I was also struggling when creating my blog, so I summarized what I did in this blog post.
I hope this is useful for creating your blog!
@hamelsmu updated the docs yesterday to walk through doing the GH Pages bit manually, since github as updated settings so it’s hard to automate it now.
The problem of Actions permission is mentioned in the migrating page now. Shouldn’t this step be in the main section? Otherwise, one would miss this permission change and git push would fail at deployment.