My Gatsby site.
The site shows various kinds of content, like blog posts, YouTube videos, newsletters, and more. To keep things organized, I defined some terms:
# to develop the site locally:
npx gatsby develop
# to develop Netlify integrations locally:
npx netlify dev
# to build the site:
npx gatsby clean
npx gatsby build
# or shorter:
npm run build
# to deploy the site (requires env vars
# `NETLIFY_SITE_ID` and `NETLIFY_AUTH_TOKEN`)
npx netlify deploy --prod --dir=public