Skip to content

Commit 1266dc7

Browse files
try vars again
1 parent fd6770d commit 1266dc7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/deployment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ on:
1111
env_file:
1212
type: string
1313
required: true
14-
port:
15-
type: string
16-
required: true
14+
# port:
15+
# type: string
16+
# required: true
1717
jobs:
1818
checkout:
1919
runs-on: [self-hosted, "${{inputs.runner}}"]
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: [self-hosted, "${{inputs.runner}}"]
3636
steps:
3737
- run: |
38-
echo "port: ${{inputs.port}}"
38+
echo "port: ${{vars.PORT}}"
3939
create_env:
4040
needs: check_port
4141
runs-on: [self-hosted, "${{inputs.runner}}"]
@@ -51,7 +51,7 @@ jobs:
5151
echo "DB_DROP_SCHEMA=${{ secrets.DB_DROP_SCHEMA }}" >> ${{inputs.env_file}}
5252
echo "AUTH_SECRET=${{ secrets.AUTH_SECRET }}" >> ${{inputs.env_file}}
5353
echo "JWT_EXPIRES_IN=${{ secrets.JWT_EXPIRES_IN }}" >> ${{inputs.env_file}}
54-
echo "PORT=${{ inputs.port }}" >> ${{inputs.env_file}}
54+
echo "PORT=${{ vars.PORT }}" >> ${{inputs.env_file}}
5555
test:
5656
runs-on: [self-hosted, "${{inputs.runner}}"]
5757
needs: create_env

.github/workflows/dev.yml

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

0 commit comments

Comments
 (0)