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 901cd8219c
commit 1903bfcaf5
Signed by: syhily
GPG Key ID: DEB186763C308C31

View File

@ -48,6 +48,7 @@ export const upyun = (opt: UpyunOption): AstroIntegration => ({
for (const dir of option.path) { for (const dir of option.path) {
logger.info(`Start to upload the ${dir} to upyun`); logger.info(`Start to upload the ${dir} to upyun`);
await uploadFile(logger, client, staticRootPath, dir); await uploadFile(logger, client, staticRootPath, dir);
fs.rmSync(path.join(staticRootPath, dir));
} }
}, },
}, },