Environments on Vercel

Ғылым және технология

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
    @gabrieltavares28614 ай бұрын

    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

    4 ай бұрын

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

  • @gabrieltavares2861

    @gabrieltavares2861

    4 ай бұрын

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

  • @xReDxTuRtLeZx
    @xReDxTuRtLeZx4 ай бұрын

    im digging the often uploads and guides, thanks

  • @rajs1302
    @rajs13024 ай бұрын

    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.

  • @cotyhamilton
    @cotyhamilton4 ай бұрын

    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

    4 ай бұрын

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

  • @TomasJansson
    @TomasJansson4 ай бұрын

    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

    4 ай бұрын

    Yes!

  • @TomasJansson

    @TomasJansson

    4 ай бұрын

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

  • @TomasJansson

    @TomasJansson

    4 ай бұрын

    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
    @saurabhramya1445 күн бұрын

    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?

  • @nil.4
    @nil.44 ай бұрын

    Keep making this videos

  • @richardantao3249
    @richardantao32494 ай бұрын

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

  • @ipara_dev

    @ipara_dev

    4 ай бұрын

    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
    @alexandrumorarasu36713 ай бұрын

    Can we also create additional environments?

  • @CesarWilliamBR
    @CesarWilliamBR4 ай бұрын

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

  • @VercelHQ

    @VercelHQ

    4 ай бұрын

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

  • @pulpml
    @pulpml4 ай бұрын

    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

    4 ай бұрын

    You bought the domain from vercel?

  • @pulpml

    @pulpml

    4 ай бұрын

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

  • @ahmedivy

    @ahmedivy

    4 ай бұрын

    @@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
    @satindar314 ай бұрын

    Hello!

Келесі