in index.js [307:326]
async function aliasDomainsToDeployment(deploymentUrl) {
if (!deploymentUrl) {
core.error('deployment url is null');
}
const args = ['-t', vercelToken];
if (vercelScope) {
core.info('using scope');
args.push('--scope', vercelScope);
}
const promises = aliasDomains.map(domain => {
return exec.exec('npx', [
'vercel',
...args,
'alias',
deploymentUrl,
domain,
]);
});
await Promise.all(promises);
}