Environments on Vercel

Поділитися
Вставка
  • Опубліковано 30 чер 2024
  • Learn about the different environments on Vercel, how to use environment variables, and a variety of different workflows you can use to create and manage your deployments.
    0:00 - Introduction
    0:24 - Deploying through GitHub
    3:08 - Preview and production environments
    5:23 - Custom preview environments
    7:20 - Custom workflows and manual promotion
    10:54 - REST API and CLI
    11:02 - Conclusion
    ◆ Git integrations: vercel.com/docs/deployments/git
    ◆ Environments: vercel.com/docs/deployments/e...
    ◆ Manual promotion: vercel.com/docs/deployments/m...
    #vercel
  • Наука та технологія

КОМЕНТАРІ • 24

  • @gabrieltavares2861
    @gabrieltavares2861 5 місяців тому +15

    It's great that you guys are truly listening to our community. Latest videos was all about questions I saw being asked on Reddit, haha

    • @coherentpanda7115
      @coherentpanda7115 5 місяців тому

      Lee is often found in the subreddit for NextJS, so it's no surprise.

    • @gabrieltavares2861
      @gabrieltavares2861 5 місяців тому

      @@coherentpanda7115yes, saw him answering a guy today. I’m just new to nexts community so that was a surprise for me

  • @xReDxTuRtLeZx
    @xReDxTuRtLeZx 5 місяців тому

    im digging the often uploads and guides, thanks

  • @rajs1302
    @rajs1302 5 місяців тому

    can we use Vercel for hosting origin based app? For instance, if I've my web app running on Node and would like to use Vercel as a CDN with the Node app as origin. This allows me to use Node runtime for some pages and Edge runtime for pages which has Edge runtime set on a page.

  • @TomasJansson
    @TomasJansson 5 місяців тому +1

    Nice one! Is it possible to have “stage” domains assigned to the deploy before promoting and then assign the production domains on promote?

    • @VercelHQ
      @VercelHQ  5 місяців тому

      Yes!

    • @TomasJansson
      @TomasJansson 5 місяців тому

      @@VercelHQ ok, but how? I don’t see docs around that.

    • @TomasJansson
      @TomasJansson 5 місяців тому +1

      I know I can promote a preview build, but what I would like to do is setting some stage domains for the main branch that will be assigned automatically, and then assign the production ones on promote. It would be really nice to not have to do the extra build. Today we have a dedicated branch to get a stage environment with custom domains.

  • @saurabhramya144
    @saurabhramya144 Місяць тому

    1. Are you working locally at the main or development branches at 2:28?
    2. have you created a development branch that will be merged with the main branch?
    3. is your main branch the production branch?
    4. Does Vercel create a preview even if only a main branch on GitHub exists?
    5. Are you pushing the development or main branches to Vercel at 2:28?
    6. Can I push my changes to a development branch on GitHub and then let Vercel pick it from there?
    The environment handling is very confusing. Could you make a video about GitHub integrations?

  • @cotyhamilton
    @cotyhamilton 5 місяців тому

    It wasn’t clear whether the app used build time or runtime environment variables (I don’t use next), but can you define runtime environment vars and update them on a live deployment without additional build and deploy?

    • @aberba
      @aberba 5 місяців тому +1

      I don't think so. You'll need to redeploy. Envs seems to be injected into code/image during build time

  • @nil.4
    @nil.4 5 місяців тому

    Keep making this videos

  • @richardantao3249
    @richardantao3249 5 місяців тому +1

    Vercel needs a bulk editor option for editing environment variables like DigitalOcean!

    • @ipara_dev
      @ipara_dev 5 місяців тому

      It's already available, copy all your variables and paste them into Vercel Environment Variables in the first "Key" input and Vercel automatically will add all your keys and values.

  • @alexandrumorarasu3671
    @alexandrumorarasu3671 4 місяці тому

    Can we also create additional environments?

  • @CesarWilliamBR
    @CesarWilliamBR 5 місяців тому

    How can environment variables be protected by role? e.g., Only admins can view variable values.

    • @VercelHQ
      @VercelHQ  5 місяців тому +2

      Here are the different roles: vercel.com/docs/accounts/team-members-and-roles/access-roles

  • @pulpml
    @pulpml 5 місяців тому

    Great video! Could you make a video on setting up DNS records for use with Resend. I was having trouble setting TTL to AUTO because in Resend docs they want resend._domainkey TTL to be AUTO but there's no AUTO option on Vercel DNS. Thank you very much!

    • @ahmedivy
      @ahmedivy 5 місяців тому

      You bought the domain from vercel?

    • @pulpml
      @pulpml 5 місяців тому

      @@ahmedivy nah, bought it on Hostinger. Is that the reason why i don't have AUTO on TTL settings ?

    • @ahmedivy
      @ahmedivy 5 місяців тому

      @@pulpml if domain is not from vercel then whats the link between resend and vercel. I also bought domain from hostinger and configured dns records with resend and its working

  • @satindar31
    @satindar31 5 місяців тому

    Hello!