Skip to content

Commit

Permalink
chore: change azure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmaialva33 committed Dec 13, 2023
1 parent 93bd4b0 commit 81cccd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/main_base-nest-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.github/**'
- '.insomnia/**'
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()}`,
Expand Down

0 comments on commit 81cccd6

Please sign in to comment.