Rather than pushing a commit to the gh-pages branch and having the built-in GitHub pages workflow deploy the contents of that branch, deploy the site content directly using a custom workflow. This avoids complexity and access requirements of pushing to another branch within a workflow.
Rather than pushing a commit to the gh-pages branch and having the built-in GitHub pages workflow deploy the contents of that branch, deploy the site content directly using a custom workflow. This avoids complexity and access requirements of pushing to another branch within a workflow.