Skip to content
Discussion options

You must be logged in to vote

Hi! 👋

I looked into the error you're getting:

HttpError: Not Found - https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site
Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions

This typically happens when GitHub Pages hasn't been enabled yet in the repository settings. Even if your workflow is correct, GitHub Actions can't deploy until Pages is explicitly turned on.

✅ Here's how to fix it:

  1. Go to your repo on GitHub.
  2. Click on Settings > Pages (in the left sidebar).
  3. Under Build and deployment, set the Source to GitHub Actions.
  4. Click Save.

Once you've done that, re-run your workflow — it should be able to detect…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@notfed
Comment options

Answer selected by notfed
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Pages Host a static website, right from your repo
3 participants