Vercel

Deploying your Web App to Vercel

Deploying a Web App with CLI

A script is provided to automate the process of deploying your web app to Vercel. You can run this script from the root of your project directory.

Terminal
pnpm vercel-deploy

Make sure you have the Vercel CLI installed globally on your machine. If not, you can install it by running the following command:

Terminal
vercel login

Deploying a Web App with GitHub Actions workflow.

The provided GitHub Actions workflow automates the process of building and deploying your web app to Vercel. It can be triggered manually from the Actions tab in your GitHub repository.

Before running this workflow, ensure the following secrets are configured in your GitHub repository:

SecretDescription
VERCEL_ORG_IDThe organization ID in Vercel.
VERCEL_PROJECT_IDThe project ID in Vercel.
VERCEL_TOKENThe authentication token for Vercel.

Triggering the Workflow

You can manually trigger this workflow from the Actions tab in your GitHub repository or with Github CLI

Terminal
gh workflow run "Vercel Deployment"

On this page