# Migrating from GitHub Pages to Netlify in an Evening

DevFeed: [Migrating from GitHub Pages to Netlify in an Evening](<https://devfeed.tech/articles/migrating-from-github-pages-to-netlify-in-an-evening-40124.md>)

Original publisher: [Read original article](<https://korbonits.com/blog/2026-03-25-migrating-from-github-pages-to-netlify/>)

Published: 2026-03-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Alex Korbonits](<https://devfeed.tech/sources/alex-korbonits.md>)

Topics: [migration](<https://devfeed.tech/topics/migration.md>), [GitHub Pages](<https://devfeed.tech/topics/github-pages.md>), [Netlify](<https://devfeed.tech/topics/netlify.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [Astro](<https://devfeed.tech/topics/astro.md>)

Tags: [astro](<https://devfeed.tech/tags/astro.md>), [dns](<https://devfeed.tech/tags/dns.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [github-pages](<https://devfeed.tech/tags/github-pages.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [migration](<https://devfeed.tech/tags/migration.md>), [netlify](<https://devfeed.tech/tags/netlify.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [ssl](<https://devfeed.tech/tags/ssl.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

A first-person guide to migrating a static Astro blog from GitHub Pages to Netlify. It covers connecting the repository, transferring environment variables, moving DNS and SSL, restoring Mailgun email-forwarding records, and replacing a scheduled GitHub Actions rebuild with a Netlify build hook.

## Source excerpt

Another hosting migration I'd been putting off for years, done in 30 minutes with Claude Code.