You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> npx vercel -t *** --scope team-shared alias https://platform-staging-fdlk83hsa-team-shared.vercel.app/ platform.example.com
Build fails and the output looks like this:
Vercel CLI 25.1.0
> Assigning alias platform.example.com to deployment platform-staging-fdlk83hsa-team-shared.vercel.app
Fetching domain platform.example.com under team-shared
Error! You don't have access to the domain platform.example.com under team-shared.
Error: The process '/opt/hostedtoolcache/node/14.19.3/x64/bin/npx' failed with exit code 1
The text was updated successfully, but these errors were encountered:
I have the same issue when using the alias-domains parameter. It looks like it's related to the vercel set alias command of the Vercel CLI, I opened a discussion on the Vercel community here: vercel/community#953.
In the meanwhile, I fixed the issue by using the aliases REST API with a custom script:
When this action runs:
deployment.yml
On the domain assigning step
Build fails and the output looks like this:
The text was updated successfully, but these errors were encountered: