chore: remove the build files for reducing the docker images size.
This commit is contained in:
parent
0126b71722
commit
1b501a603e
@ -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