Encountered similar issues, and ended up adding the token to the build->publish section in the package.json
"build": { "publish": { "provider": "github", "private": true, "owner": "...", "repo": "...", "token": "ghp_..." },