feat: discord-api-types on docs

This commit is contained in:
iCrawl
2025-05-13 01:33:48 +02:00
parent b3db92edfb
commit aa533efe26
15 changed files with 93 additions and 109 deletions

View File

@@ -5,7 +5,6 @@ import { setTimeout as sleep } from 'node:timers/promises';
import { setFailed, getInput } from '@actions/core';
import { create } from '@actions/glob';
import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';
import { put } from '@vercel/blob';
import PQueue from 'p-queue';
if (
@@ -47,10 +46,6 @@ for await (const file of globber.globGenerator()) {
const name = basename(file).replace('main.', '');
async function upload(retries = 0) {
try {
await put(`rewrite/${pkgName}/${version}.${name}`, data, {
access: 'public',
addRandomSuffix: false,
});
await S3.send(
new PutObjectCommand({
Bucket: process.env.CF_R2_DOCS_BUCKET,