next.jsdeploymentgithub-actionsgithub-pagesstatic-site

Failed to deploy Next.js site on GitHub Pages


[Set up pages ]

  Run actions/configure-pages@v3
  with:
    static_site_generator: next
    token: ***
    enablement: false
Error: 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: HttpError: Not Found

In the pages I have my pages there. What would I do with them?


Solution

  • If this issue appears right after creating the first Actions workflow, the solution is to: