GitHub Pages Setup Notes
July 21, 2026
Stack
- Framework: Astro 7
- Hosting: GitHub Pages (free)
- Deployment: GitHub Actions (automatic on push to main)
- Domain: atheerium.github.io
Setup steps
- Create repo named
atheerium.github.io - Scaffold Astro project
- Install
@astrojs/sitemap - Configure for GitHub Pages (
site: 'https://atheerium.github.io') - Create GitHub Actions workflow
- Enable Pages → GitHub Actions in repo settings
Key config
In astro.config.mjs:
siteset to the GitHub Pages URLtrailingSlash: 'always'for cleaner URLsbuild.format: 'directory'
Deployment
Every push to main triggers the workflow, builds the site, uploads the artifact, and deploys to Pages. No manual steps.