feat: replace deploy step with node script
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 30s
Some checks failed
Build and Deploy / build_and_deploy (push) Failing after 30s
This commit is contained in:
parent
fb326ca244
commit
2310e52fb3
4 changed files with 285 additions and 110 deletions
10
scripts/upload.js
Normal file
10
scripts/upload.js
Normal 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: "",
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue