Deploy to Vercel with a GitHub Action

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 18

  • @thesobercoder
    @thesobercoder Рік тому +4

    Been searching for this tutorial for ages. You rock dude!

    • @eddiejaoude
      @eddiejaoude  Рік тому +1

      Glad I could help! Thank you for the great feedback!

  • @tomasfrancisco28
    @tomasfrancisco28 8 місяців тому +1

    The alias trick did it for me. I was looking for something that would allow me to have preview on the main branch, and only production when on tag, but because of Vercel linking of main with production was making it impossible to distinguish the two. Thanks for sharing!

    • @eddiejaoude
      @eddiejaoude  8 місяців тому

      Glad it helped Tomas! Thank you for the great feedback, this is what gives me the motivation to create these videos

  • @mfmn6397
    @mfmn6397 3 місяці тому

    how do you distinguish between multiple preview deployments? Since we're using Github Actions, then I assume you might have setup disabled git deployment in vercel.json to avoid duplicate deploy trigger. Deploying with Github Actions will not specify which branch got deploy in Vercel -> Deployments Tab.

  • @ninomatos242
    @ninomatos242 7 місяців тому

    The alias trick is quite nice but I've been struggling with multi environment in Vercel. Imagine that you have a dev, sandbox, staging, prod setup. How would you tackle that? ---vercel requires a branch for domain creation which means that you will have to create a branch and do all the mgmt of the branch which is quite unconvinient and removes flexibility

  • @osamooo147
    @osamooo147 7 місяців тому

    Nice video! Thanks.
    I have a question. you explains 2 case(production, preview) How to deploy to development mode?

    • @eddiejaoude
      @eddiejaoude  7 місяців тому

      I don't use development environment, I only use prod and preview, here are the official docs vercel.com/docs/deployments/preview-deployments

  • @richardsifeanyi6766
    @richardsifeanyi6766 Рік тому +2

    Keep up with the 🔥

  • @SanjayKumar-st2pb
    @SanjayKumar-st2pb Рік тому +1

    Can we do this for organization repos?

    • @eddiejaoude
      @eddiejaoude  Рік тому +1

      yes, we use it on EddieHub's BioDrop repo, which is part of the Organisation

  • @martindimitrov8547
    @martindimitrov8547 Рік тому +1

    very helpful! thanks

    • @eddiejaoude
      @eddiejaoude  Рік тому

      Glad it was helpful! Thank you for your great feedback

  • @webdeveloperninja9220
    @webdeveloperninja9220 Рік тому +1

    Boss