mirror of
https://github.com/unraid/api.git
synced 2026-02-22 08:18:39 -06:00
feat: also copy in other files
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user