diff --git a/.github/workflows/main_base-nest-api.yml b/.github/workflows/main_base-nest-api.yml index f20c45c..0c8b764 100644 --- a/.github/workflows/main_base-nest-api.yml +++ b/.github/workflows/main_base-nest-api.yml @@ -7,6 +7,11 @@ on: push: branches: - main + paths-ignore: + - 'README.md' + - 'LICENSE' + - '.github/**' + - '.insomnia/**' workflow_dispatch: jobs: diff --git a/src/main.ts b/src/main.ts index 3495678..bfd8c89 100644 --- a/src/main.ts +++ b/src/main.ts @@ -77,7 +77,7 @@ async function bootstrap() { app.useGlobalPipes(new ZodValidationPipe()); await app - .listen(3000, '0.0.0.0') + .listen(process.env.PORT || 3000, '0.0.0.0') .then(async () => Logger.log( `Application is running on: ${await app.getUrl()}`,