mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
ci: update glob path
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: 'Upload documentation'
|
||||
description: 'Uploads the docs.json file to a planetscale database'
|
||||
description: 'Uploads the docs.api.json file to a planetscale database'
|
||||
inputs:
|
||||
package:
|
||||
description: 'The package string'
|
||||
|
||||
@@ -17,7 +17,7 @@ const sql = connect({
|
||||
url: process.env.DATABASE_URL!,
|
||||
});
|
||||
|
||||
const globber = await create(`docs/${pkg}/docs/docs.api.json`);
|
||||
const globber = await create(`docs/*/${pkg}/docs/docs.api.json`);
|
||||
for await (const file of globber.globGenerator()) {
|
||||
const data = await readFile(file, 'utf8');
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user