You're seeing a 404 because GitHub Pages is not enabled yet. This is a one-time setup that takes 2 minutes.
Click this link: https://github.com/amrpyt/solar-panel-website-demo/settings/pages
Or manually:
- Go to your repository: https://github.com/amrpyt/solar-panel-website-demo
- Click "Settings" tab (top right)
- Click "Pages" in the left sidebar
Under "Build and deployment" section:
- Find the "Source" dropdown
- Click it and select "GitHub Actions"
⚠️ NOT "Deploy from a branch"⚠️ Must be "GitHub Actions"
- Click "Save" button
- A green banner will appear saying "GitHub Pages source saved"
- Wait 1-2 minutes for the workflow to deploy
- You can watch progress at: https://github.com/amrpyt/solar-panel-website-demo/actions
Once deployed, your site will be live at:
https://amrpyt.github.io/solar-panel-website-demo/
After enabling, the site will have:
- ✅ Home page with hero section
- ✅ About page
- ✅ Services page
- ✅ Blog page
- ✅ Contact page
- ✅ Working navigation
- ✅ CMS at
/admin
- GitHub Pages is disabled by default for security
- The workflow is ready and configured
- It just needs permission to deploy
- This is a one-time setup
- Only repository owners can enable it
-
Check the workflow: https://github.com/amrpyt/solar-panel-website-demo/actions
- Make sure the latest workflow succeeded (green checkmark)
-
Wait a bit longer: Sometimes it takes 2-3 minutes
-
Hard refresh: Press
Ctrl+Shift+R(orCmd+Shift+Ron Mac) -
Check Pages settings: Make sure "Source" is set to "GitHub Actions"
Once the site is live, you can:
- View the website: https://amrpyt.github.io/solar-panel-website-demo/
- Access the CMS: https://amrpyt.github.io/solar-panel-website-demo/admin
- Make changes: Any push to
mainbranch auto-deploys - Manage content: Use the CMS to add blog posts, projects, etc.
What you need to do:
- Go to Settings → Pages
- Source → GitHub Actions
- Click Save
- Wait 1-2 minutes
- Visit the site!
Direct link to settings: https://github.com/amrpyt/solar-panel-website-demo/settings/pages
Everything is ready - just needs this one click to enable! 🚀