Saltearse al contenido

Deploy To Netlify

Esta página aún no está disponible en tu idioma.

  1. Deploy to Netlify with the following:

    Terminal window
    npm run build && netlify build && netlify deploy --prod

    If you do not have an existing Netlify project, this command will help you set up one.

  2. Next, set all the environment variables in your Netlify’s project Settings > Environment Variables from your local .env file.

  3. Finally, deploy to Netlify (again) with the following:

    Terminal window
    npm run build && netlify build && netlify deploy --prod
  4. Now that’s set up, you can deploy in future iterations only by executing the command once.