Skip to content

Commit fd6770d

Browse files
fix port
1 parent 020b3ea commit fd6770d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/deployment.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,14 @@ jobs:
3030
- name: Install dependencies
3131
if: steps.cache.outputs.cache-hit != 'true'
3232
run: npm ci
33+
check_port:
34+
needs: checkout
35+
runs-on: [self-hosted, "${{inputs.runner}}"]
36+
steps:
37+
- run: |
38+
echo "port: ${{inputs.port}}"
3339
create_env:
34-
needs: checkout
40+
needs: check_port
3541
runs-on: [self-hosted, "${{inputs.runner}}"]
3642
environment: ${{inputs.environment}}
3743
steps:

.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)