I set a jekyll github pages (maybe wrongly) by the defaults in github. The workflow…
- User
I set a jekyll github pages (maybe wrongly) by the defaults in github. The workflow fails with: build HttpError: Not Found - https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site HttpError: /home/runner/work/_actions/actions/configure-pages/v5/node_modules/@octokit/request/dist-node/index.js#L124 Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions, or consider exploring the enablement parameter for this action. Error: Not Found - https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site
- Assistant
This error usually happens when GitHub Pages is not enabled for your repository or not configured to use GitHub Actions as the build source. The workflow tries to run actions/configure-pages, which calls the Pages API, but that API returns 404 Not Found when Pages is not enabled. Here is how to fix it: