-
|
I'm just trying to deploy a simple, static Here's the link to the workflow: https://github.com/notfed/many-worlds-explorer/actions The error given is: and I'm at a loss. It says "404 Not Found" but doesn't tell me which URL it's trying to resolve. Someone help me debug this? What might I be doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Hi! 👋 I looked into the error you're getting: 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:
Once you've done that, re-run your workflow — it should be able to detect the Pages configuration and deploy correctly. 🔧 (Optional) Extra tip:If you're using - name: Configure GitHub Pages
uses: actions/configure-pages@v5
with:
enablement: trueBut note that this may not work in public repos without the right token permissions, so enabling it manually via the UI is the safest route. Let me know if it still fails after that and feel free to share your workflow file here. Happy to help further! If everything works, please mark the question as answered. |
Beta Was this translation helpful? Give feedback.
-
|
HI, @notfed. The configure-pages@v5 step calls GET /repos/{owner}/{repo}/pages to check that Pages is enabled. Two clean fixes (pick one)
- name: Setup Pages
uses: actions/configure-pages@v5
with:
enablement: true(The action’s purpose includes enabling Pages.) Quick checklist
permissions:
contents: read
pages: write
id-token: write(Required by the official template.)
After doing one of the two “enable Pages” steps above, the same workflow should proceed to upload-pages-artifact and deploy-pages successfully. I hope this will help you |
Beta Was this translation helpful? Give feedback.
Hi! 👋
I looked into the error you're getting:
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:
Once you've done that, re-run your workflow — it should be able to detect…