Using GitHub to Power Up Your Static Sites
summary
Shows how to generate a Next.js static site, commit it to GitHub, and use GitHub Actions to build, run next export and auto-commit the output to a GitHub Pages branch; the demo produces a small blog (three posts) and the deployment succeeds. Key gotchas: GitHub ignores _next so add .nojekyll to the published folder, remove out/ from .gitignore, set NEXT_PUBLIC_BASE_PATH for image paths, and use a YAML workflow to automate build and deploy.
AI-written summary · about
chapters (9)
- 0:00Introduction and setup
- 1:42Talk overview and speaker intro
- 4:13Static vs dynamic websites
- 13:40Static site generators explained
- 17:11GitHub Pages and Actions
- 21:04Automating Next.js deployment
- 28:30Live coding demo
- 44:44Recap and key takeaways
- 46:28Q&A session
related talks
24mGitHub Pages Reimagined: Deploy Your First Website Without Leaving Your IDE
30mUse Next.js Static Site Generation with Cosmic
45mDeploy Your Static Web App with Your Favorite Web Framework
46mAutomate Documentation with Sphinx & GitHub Actions
31mFrom Code to Scale! Build a Static Web App in Minutes
56mStarting a Blog
50m360° automation with GitHub Actions
04mThink outside the box
