Hi, our CI/CD process process stopped working suddenly sometime in the last week. I’m wondering if something changed around the cli deploy command recently that would cause this?
Our GH workflow does a fairly simple setup:
CI job:
- Checks out repo
- Runs
vercel pull
- Runs
vercel build
- Uploads the
.vercel
output as a artifact
CD job:
- Downloads artifact
- Runs
vercel pull
- Runs
vercel deploy --prebuilt
This has worked fine up until last week. Nothing about our workflow has changed, but vercel deploy
suddenly started throwing this error:
Run url="$(vercel deploy --prebuilt --token=*** )"
Vercel CLI 39.1.0
Retrieving project…
Error: The provided path “~/work/repo/repo/root/dir” does not exist. To change your Project Settings, go to https://vercel.com/...
root/dir
is what we have configured as our Root Directory under the project’s settings. The error is correct that the directory isn’t there, but that source folder shouldn’t be needed, if I understand correct? All of the needed build output would be in the .vercel
output folder, which lies at our monorepo root.