Netlify is a popular web hosting platform with a generous free tier and automatic deployments from Git. This guide walks through connecting your GitHub repository to Netlify and deploying your Retype site.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/retypeapp/retype/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A GitHub repository containing your Retype project source files
- The Retype Build Action configured to publish built output to a
retypebranch (see the GitHub Actions guide) - A Netlify account (free tier is sufficient)
Deployment
Add the Retype Build Action
Before connecting Netlify, set up the Retype GitHub Build Action in your repository. The action builds your site and pushes the output to a
retype branch, which Netlify will then serve.Sign up for Netlify
Go to netlify.com and sign up. You can authenticate directly with your GitHub account for a faster setup.After signing up, you will land on the Netlify dashboard.
Create a new site from Git
- Click Add new site > Import an existing project in the Netlify dashboard.
- Select GitHub as the Git provider.
- Authorize Netlify to access your GitHub account when prompted.
- Search for and select the repository you want to deploy.
Configure build settings
On the Build settings screen, configure the following:
| Setting | Value |
|---|---|
| Branch to deploy | retype |
| Build command | retype build |
| Publish directory | .retype |
If you are deploying from the
retype branch (the pre-built output from the GitHub Action), you can leave the build command blank and set the publish directory to / — Netlify will serve the files directly without rebuilding.Set environment variables (if using a Retype license key)
If your project requires a Retype license key, add it as an environment variable so it is not stored in your repository:
- In the Netlify dashboard, go to Site configuration > Environment variables.
- Click Add a variable.
- Set the key to
RETYPE_KEYand the value to your license key.
RETYPE_KEY environment variable during the build.Deploying updates
Once the site is connected, deployments are automatic. When you push changes to the configured branch, Netlify detects the update and starts a new build and deploy automatically. No manual action is required.Custom domain
Add your domain in Netlify
In the Netlify dashboard, go to Domain settings and click Add custom domain. Enter your domain name and click Verify.
Configure DNS
Follow the prompts in the Netlify dashboard to update your domain’s DNS records. Netlify provides specific records (CNAME or A records) depending on whether you are using a subdomain or root domain.
Enable HTTPS
Netlify provisions a free TLS certificate via Let’s Encrypt automatically once DNS propagates. You can verify the certificate status under Domain settings > HTTPS.
Other hosting options
GitHub Pages
Deploy to GitHub Pages for free using the Retype Build Action.
Cloudflare Pages
Host on Cloudflare Pages with global CDN and DDoS protection.
Docker
Run Retype in a Docker container for flexible self-hosted deployments.
