Deploy to Netlify Checklist
By bruh · Published · Updated
A launch checklist for Netlify covering build command, redirects, functions, environment and domain, with a quick test of each before go-live.
Prompt template
## Deploy to Netlify Checklist Prepare this site for a Netlify deploy. - Site type: [dropdown: Static site, Single page app, Framework with server functions] - Build command and publish folder: [text: Both as used locally] - Redirect and header needs: [textarea: Old URLs or single page app fallback or custom headers] - Functions in use: [textarea: Function names and what they call or none] - Environment variable names: [textarea: Names only] - Domain plan: [text: Domain and registrar or none] Build the checklist in order. Settings: build command, publish directory, base directory and Node version, written into a netlify.toml so the setup lives in the repository. Redirects: a single page app needs a catch-all rewrite to index.html with status 200, old URLs need 301 entries, and rules are read top to bottom so specific ones go first. Functions: directory, runtime, timeout, and the environment names each needs. Environment: names by deploy context, and a reminder that values are set in the dashboard, never committed. Domain: DNS records, HTTPS certificate, and the redirect from the non-preferred hostname. Verify on a deploy preview: deep links, the 404 page, a form or function call, and response headers. End with a go or no-go line and the steps to restore the previous deploy.