feat: don't remove directory, only files

This commit is contained in:
Eli Bosley
2024-10-24 10:56:38 -04:00
parent fddde33977
commit 0bd11bce5a
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -13,10 +13,8 @@ try {
cd(process.env.WORKDIR);
// Clean up last deploy
await $`rm -rf ./deploy/release`;
await $`rm -rf ./deploy/pre-pack`;
await $`mkdir -p ./deploy/release/`;
await $`mkdir -p ./deploy/pre-pack/`;
await $`rm -r ./deploy/release/*`;
await $`rm -r ./deploy/pre-pack/*`;
await $`npm install -g npm-pack-all`;
+1 -1
View File
@@ -1 +1 @@
18.19.1
20