chore: remove the build files for reducing the docker images size.
This commit is contained in:
parent
901cd8219c
commit
1903bfcaf5
@ -48,6 +48,7 @@ export const upyun = (opt: UpyunOption): AstroIntegration => ({
|
||||
for (const dir of option.path) {
|
||||
logger.info(`Start to upload the ${dir} to upyun`);
|
||||
await uploadFile(logger, client, staticRootPath, dir);
|
||||
fs.rmSync(path.join(staticRootPath, dir));
|
||||
}
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user