Deploying Static Websites
Learn about deploying static websites with GitHub Pages
Deploying Static Websites
GitHub Pages makes it easy to deploy static websites directly from your repository.
Deployment Methods
Automatic Deployment
- Push to designated branch (main, gh-pages)
- GitHub automatically builds and deploys
- Works with Jekyll by default
GitHub Actions
- Custom build processes
- Support for any static site generator
- More control over the deployment pipeline
- Create repository: Set up your website repository
- Add content: Include your website files
- Configure Pages: Enable GitHub Pages in settings
- Choose source: Select branch or GitHub Actions
- Deploy: Your site is live!