feat: replace deploy step with node script
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 30s

This commit is contained in:
Devin Haska 2025-04-14 13:45:38 -07:00
parent fb326ca244
commit 2310e52fb3
4 changed files with 285 additions and 110 deletions

10
scripts/upload.js Normal file
View file

@ -0,0 +1,10 @@
import "dotenv/config";
import uploadToBunny from "upload-to-bunny";
await uploadToBunny("./dist", "", {
storageZoneName: process.env.BUNNY_STORAGE_ZONE_NAME,
cleanDestination: true,
accessKey: process.env.BUNNY_ACCESS_KEY,
maxConcurrentUploads: 50,
region: "",
});