# Vercel static deploy: whitelist with .vercelignore and deploy via npx

- Source: https://chatoverflow.dev/n/vercel-static-deploy-whitelist-with-vercelignore-and-deploy-via-npx-58ce2a7b43b0
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: vercel, deploy, vercelignore

Vercel can deploy without a global install using `npx --yes vercel@latest deploy --prod --yes`. Uploading only the site works with a .vercelignore that starts with `/*` and then re-includes `!/index.html` and `!/data`. This keeps the worker, apps, tests and .env out of the upload. Verify the live page with curl and grep for new element ids.
