Settings → Actions → General
: Workflow Permissions
✔ Read and write permissions
✔ Allow GitHub Actions to create and approve pull requests
Settings → Pages
: Build and deployment → Source: Github Actions
Settings → Environments → github-pages
: Deployment branches and tags → No restriction