feat: also copy in other files

This commit is contained in:
Eli Bosley
2024-10-24 15:02:02 -04:00
parent a6333bf5a2
commit 125bc29166

View File

@@ -30,6 +30,9 @@ try {
// Copy environment to deployment directory
await $`cp ./.env.production ./deploy/pre-pack/.env.production`;
await $`cp ./.env.staging ./deploy/pre-pack/.env.staging`;
await $`cp ./tsconfig.json ./deploy/pre-pack/tsconfig.json`;
await $`cp ./unraid-api.js ./deploy/pre-pack/unraid-api.js`;
await $`cp ./codegen.yml ./deploy/pre-pack/codegen.yml`;
// Get package details
const { name, version, ...rest } = await import('../package.json', {