#setting vercel alias problem using GitHub workflow
1 messages · Page 1 of 1 (latest)
The error message you're seeing indicates that you don't have access to the domain dev.project.company.ai under your-projects. This could be due to a few reasons:
- The domain is not added or configured correctly in your Vercel project settings.
- You don't have the necessary permissions to access the domain.
Here are some steps you can take to resolve this issue:
-
Check if the domain is added to your Vercel project. You can do this by going to your project settings on the Vercel dashboard.
-
If the domain is added, ensure that it's configured correctly. You can refer to the Vercel documentation on custom domains (https://vercel.com/docs/projects/custom-domains) for more information.
-
If you're using the Vercel CLI, make sure you're logged in to the correct account that has access to the domain. You can switch accounts using the
vercel switchcommand. -
If you're using a GitHub workflow to set the alias, ensure that the workflow has the necessary permissions to access the domain. You might need to set up the correct environment variables in your GitHub workflow file.
If you're still having trouble, you might want to reach out to Vercel Support for further assistance.
Sources:
- Vercel CLI Alias (https://vercel.com/docs/cli/alias#vercel-alias)
- Vercel CLI Usage (https://vercel.com/docs/cli/alias#usage)
- Vercel CLI Switch (https://vercel.com/docs/cli#commands/switch)
- GitHub Actions with Vercel (https://vercel.com/guides/how-to-alias-a-preview-deployment-using-the-cli#example-with-github-actions)