This guide will help you deploy the Budget Planner application to GitHub Pages.
- GitHub account
- Git installed on your local machine
- Basic understanding of Git commands
- Visit the repository: https://github.com/bbogdanov/simple-budget
- Click the "Fork" button in the top-right corner
- Clone your forked repository:
git clone https://github.com/YOUR_USERNAME/simple-budget.git cd simple-budget
- Clone the original repository:
git clone https://github.com/bbogdanov/simple-budget.git cd simple-budget - Remove the original remote and add your own:
git remote remove origin git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git
- Go to your repository on GitHub
- Click on Settings tab
- Scroll down to Pages section (left sidebar)
- Under Source, select "GitHub Actions"
- The workflow will automatically deploy on the next push
-
Push any change to trigger deployment:
git add . git commit -m "Enable GitHub Pages deployment" git push origin main
-
Check the Actions tab to monitor deployment progress
-
Once complete, your site will be available at:
https://YOUR_USERNAME.github.io/YOUR_REPO_NAME/
The included GitHub Actions workflow (.github/workflows/deploy.yml) will automatically:
- Trigger: On every push to the
mainbranch - Build: Process the static files using Jekyll
- Deploy: Update the live site with new changes
- Monitor: Show deployment status in the Actions tab
Edit the README.md file to update the live demo link:
## 🚀 Live Demo
Visit the live application: [Budget Planner](https://YOUR_USERNAME.github.io/YOUR_REPO_NAME/)To use a custom domain:
- Create a
CNAMEfile in the repository root:your-domain.com - Configure DNS settings with your domain provider
- Update the
_config.ymlfile:url: "https://your-domain.com"
Modify _config.yml to customize:
title: Your Budget Planner
description: Your custom description
url: "https://YOUR_USERNAME.github.io"
baseurl: "/YOUR_REPO_NAME"- Check the Actions tab for error details
- Ensure all required files are present
- Verify the workflow file syntax
- Wait 5-10 minutes after first deployment
- Check that Pages is enabled in repository settings
- Verify the correct URL format
- Ensure changes are pushed to the
mainbranch - Check Actions tab for deployment status
- Clear browser cache or try incognito mode
- Actions Tab: Real-time deployment progress
- Environments: Deployment history and status
- Pages Settings: Current deployment source and URL
Add Google Analytics by including the tracking code in index.html:
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=YOUR_TRACKING_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'YOUR_TRACKING_ID');
</script>Your Budget Planner is now deployed and accessible worldwide. Share the URL with others and enjoy your fully-featured budget tracking application!
- Check GitHub Pages Documentation
- Open an issue in the repository
- Review the GitHub Actions logs for specific error messages