1. 32
    Only Deploy to Vercel What has Been Affected Using Nx
    6m 48s

Only Deploy to Vercel What has Been Affected Using Nx

Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 2 years ago

In an Nx monorepo, you typically have multiple applications and lots of libraries. When we configure Vercel for deployment, we set one Vercel deployment for each app in our monorepo. However, we would want to make sure that not all the apps are being deployed all the time, but only if the app was really affected by the change. Nx affected commands can help here.

In this lesson we're going to create a simple script, that leverages the Nx affected commands to determine whether we should cancel or continue a given Vercel deployment.

Prefer to read along as well? Here's the accompanying article.

Amadeo Moran Guerrero
Amadeo Moran Guerrero
~ 8 months ago

It would be amazing to see this course updated to the latest versions and with Remix deploying to Fly.io also jejeje Thanks

Juri Strumpflohner
Juri Strumpflohnerinstructor
~ 8 months ago

Hey @Amadeo, I hear you 😅. I've been having an update for this entire course on my list for a while now :)

Markdown supported.
Become a member to join the discussionEnroll Today