GitHub Pages Deployment Guide
๐จ Current Issue: Fork Repository Limitations
This repository is a fork of an academic homepage template. GitHub Pages has specific limitations for forked repositories that may prevent your site from being publicly accessible at https://tangenth.github.io.
โ Quick Fix: Enable GitHub Pages for Your Fork
Method 1: Repository Settings (Recommended)
- Go to your repository on GitHub:
https://github.com/TangentH/TangentH.github.io - Click on Settings tab
- Scroll down to Pages section in the left sidebar
- Under Source, select:
- Source: Deploy from a branch
- Branch: main
- Folder: / (root)
- Click Save
- Wait 5-10 minutes for deployment
Method 2: Convert Fork to Standalone Repository (Best Long-term Solution)
- Create a new repository named
TangentH.github.io(delete the current fork first) - Clone this repository locally
- Push the code to the new repository
- Enable GitHub Pages as described in Method 1
๐ง Configuration Fixes Applied
Fixed Repository Reference
- โ
Updated
_config.ymlto point to correct repository:TangentH/TangentH.github.io - โ This enables Google Scholar stats and other features that depend on repository path
Removed CNAME Issues
- โ Confirmed no conflicting CNAME file exists
- โ
Site will deploy to default
tangenth.github.iodomain
๐งช Testing Your Deployment
After enabling GitHub Pages:
- Check Actions Tab: Look for โpages build and deploymentโ workflow runs
- Visit Your Site: Navigate to
https://tangenth.github.io - Verify Features:
- Homepage loads correctly
- Navigation works
- Google Scholar stats appear (if configured)
๐ Additional Optimizations
Enable Google Scholar Stats
- Uncomment and configure the Google Scholar crawler workflow
- Add your Google Scholar ID to repository secrets
- The workflow will automatically update citation statistics
Custom Domain (Optional)
If you want to use a custom domain:
- Add a
CNAMEfile with your domain name - Configure DNS settings with your domain provider
- Enable HTTPS in repository settings
๐ Troubleshooting
Site Still Not Accessible?
- Check if GitHub Pages is enabled in repository settings
- Verify the repository is public
- Wait up to 10 minutes for changes to propagate
- Check browser cache (try incognito mode)
Build Failures?
- Check the Actions tab for error details
- Ensure all required files are present
- Verify Jekyll syntax in
_config.yml
Fork-Related Issues?
- Consider converting to a standalone repository
- Check if the original repository has any specific deployment requirements
๐ Need More Help?
If issues persist:
- Check GitHub Pages documentation
- Verify repository settings match this guide
- Consider reaching out to GitHub Support for fork-specific issues
Last Updated: September 2024
Status: Ready for deployment after applying fixes