chore: remove the build files for reducing the docker images size.

This commit is contained in:
Yufan Sheng 2024-06-19 03:37:15 +08:00
parent 0126b71722
commit 1b501a603e
Signed by: syhily
GPG Key ID: 9D18A22A7DCD5A9B

View File

@ -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));
}
},
},