Skip to content

Commit 020b3ea

Browse files
fix port
1 parent 7f8da2d commit 020b3ea

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deployment.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
env_file:
1212
type: string
1313
required: true
14+
port:
15+
type: string
16+
required: true
1417
jobs:
1518
checkout:
1619
runs-on: [self-hosted, "${{inputs.runner}}"]
@@ -42,7 +45,7 @@ jobs:
4245
echo "DB_DROP_SCHEMA=${{ secrets.DB_DROP_SCHEMA }}" >> ${{inputs.env_file}}
4346
echo "AUTH_SECRET=${{ secrets.AUTH_SECRET }}" >> ${{inputs.env_file}}
4447
echo "JWT_EXPIRES_IN=${{ secrets.JWT_EXPIRES_IN }}" >> ${{inputs.env_file}}
45-
echo "PORT=${{ vars.PORT }}" >> ${{inputs.env_file}}
48+
echo "PORT=${{ inputs.port }}" >> ${{inputs.env_file}}
4649
test:
4750
runs-on: [self-hosted, "${{inputs.runner}}"]
4851
needs: create_env

.github/workflows/dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
environment: "dev"
1212
runner: "dev"
1313
env_file: "dev.env"
14+
port: ${{vars.PORT}}
1415
secrets: inherit

0 commit comments

Comments
 (0)