add readme

This commit is contained in:
tianjincai
2025-07-19 13:57:35 +08:00
parent 8550024659
commit 50994b567a
3 changed files with 102 additions and 49 deletions

View File

@@ -1,5 +1,3 @@
// deployer.js
const { S3Client, ListObjectsV2Command, DeleteObjectsCommand } = require('@aws-sdk/client-s3');
const { Upload } = require('@aws-sdk/lib-storage');
const fs = require('fs');
@@ -151,7 +149,7 @@ module.exports = async function(args) {
try {
await Promise.all(uploadPromises);
log.info('All files uploaded successfully!');
log.info(chalk.green('All files uploaded successfully!'));
} catch (err) {
log.error('An error occurred during upload:');
log.error(err);