How to deploy to Vercel when you publish
This guide shows you how to connect a Picked project to your Vercel account. After you connect, Picked deploys the Vercel projects that you choose each time the project publishes a workspace.
Before you start, you need:
- A Picked project, and permission to install apps on it.
- A Vercel account or a Vercel team that holds the sites to deploy.
1. Install the Vercel app
Install the app with the name Vercel on your project. The app asks for no access to the data of your project. See How to install an app.
2. Open the app
On the apps page of the project, under Installed, click Open next to Vercel.
The dashboard shows the page of the app.
3. Connect Vercel
- Click Connect Vercel.
- In the new window, sign in to Vercel if Vercel asks you.
- Choose the Vercel team or the personal account that holds your sites.
- Approve the Picked Vercel Integration.
The new window closes. The status line shows Connected to Vercel. The page shows
Connected to Vercel team <team ID>, or Connected to Vercel personal account, then the
integration configuration, for example (configuration icfg_…).
If the new window stays open, close it. The status line shows
The connection window closed. If you finished connecting there, it shows here, and the
page shows the connection.
If the page shows
Picked’s Vercel Integration is not configured on this deployment, so it cannot connect.,
you cannot connect from this Picked environment.
4. Choose the projects to deploy
- Under Projects to deploy, choose each Vercel project that Picked must deploy.
- Click Save projects.
The page shows Saved the projects to deploy. Under Deploy now, the page shows a
Deploy <project> button for each project that you chose.
Each time that a workspace in this project publishes, Picked deploys each project that you chose one time. See Vercel app for what a deployment does.
5. Deploy at a different time
To deploy a project from the app page:
- Under Deploy now, click Deploy <project>.
- Read the status line. It shows
<project>: deploying, or the reason for a failure.
To deploy from the publish modal, publish a workspace. When the workspace is published, click
Deploy <project> in the Deploy to Vercel card of the modal. See
How to publish a workspace.
To deploy from a workflow, add the Vercel: Trigger Vercel deploy tool to the workflow. See
How to use an app tool in a workflow.
6. Check the deployments
The Recent deploys table on the app page shows the last deployments. The Started by
column shows manual, publish or workflow. The Result column shows Deploying, or
Failed: and the reason.
7. Open Picked from Vercel
- In the Vercel dashboard, open Integrations.
- Open the configuration of the Picked integration.
Vercel sends you to the Vercel app page of the Picked project that holds this configuration. If more than one project holds it, the dashboard asks you to choose the project.
8. Remove the connection
- On the app page, click
Disconnect. - In the Vercel dashboard, open Integrations.
- Remove the Picked integration from the account or the team.
Step 1 removes the Vercel token, the team, the configuration and the chosen projects from Picked. The integration stays on your Vercel account until you do steps 2 and 3.
Related
- Vercel app: the slots, the tool, the event, the limits and the messages of the app.
- How to upgrade or uninstall an app.
- About apps.
