mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
ci: revert deploying vercel with ci for now
This commit is contained in:
@@ -52,10 +52,15 @@ try {
|
||||
console.log('Generated all indices.');
|
||||
|
||||
console.log('Uploading indices...');
|
||||
for (const index of indices) {
|
||||
console.log(`Uploading ${index.index}...`);
|
||||
await client.index(index.index).addDocuments(index.data);
|
||||
}
|
||||
|
||||
try {
|
||||
await Promise.all(
|
||||
indices.map(async (index) => {
|
||||
console.log(`Uploading ${index.index}...`);
|
||||
return client.index(index.index).addDocuments(index.data);
|
||||
}),
|
||||
);
|
||||
} catch {}
|
||||
|
||||
console.log('Uploaded all indices.');
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user