gowalk-cicd 1.0.218 → 1.0.220

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -318,6 +318,11 @@ Requirements on the consumer repo:
318
318
  `backend-preview` deploy ends with a `backend_origin_unbound` notice.
319
319
  - Repo **variable** `BACKEND_DEPLOY_HOST`: the bound SSH destination (DNS name or IPv4 address),
320
320
  required for a bound backend; no panel host or historical address is used as a fallback.
321
+ - Repo **variable** `BACKEND_DIAGNOSTIC_HOST` (optional): local IPv4 address or DNS name expected by network diagnostics.
322
+ For a VM behind NAT, use its private address; SSH still uses `BACKEND_DEPLOY_HOST` and its pinned key.
323
+ - Repo **variable** `BACKEND_DEPLOY_SSH_PORT` (optional, default `22`): the SSH port, from 1 to 65535.
324
+ Non-default ports require `[host]:port` in the trusted host key, for example
325
+ `[backend.example.com]:22101 ssh-ed25519 AAAA...`. Deployment and diagnostics share this port.
321
326
  - Repo **variables** (optional): `BACKEND_APP_NAME` (defaults to the repo name),
322
327
  `BACKEND_HEALTH_PATH` (default `/health`). The action refuses an `api-domain` that is not a lowercase DNS
323
328
  name, a `health-path` outside `/[A-Za-z0-9_./-]*` and a malformed `cert-email`.
@@ -1434,6 +1439,10 @@ Identity failure logs and source Compose files do not establish this applied sta
1434
1439
 
1435
1440
  ### Read-only bridge and VPN prerequisite diagnostics
1436
1441
 
1442
+ The optional `diagnostic-host` input (repo variable `BACKEND_DIAGNOSTIC_HOST`) selects the local binding
1443
+ checked by network diagnostics. Empty uses the SSH host. It accepts IPv4 or DNS names, not IPv6 literals.
1444
+ This local observation does not prove public NAT or ingress reachability; verify the public endpoint separately.
1445
+
1437
1446
  Backend Deploy also offers `operation: network-diagnostics`, with an exact `diagnostic-service`, deployed
1438
1447
  `diagnostic-build-sha`, owned `diagnostic-network`, proposed namespace-only private IPv4 `/24` or IPv6 ULA `/64` in
1439
1448
  `diagnostic-pool`, exact `diagnostic-vpn-service`, and optional `diagnostic-provider: digitalocean`.
@@ -22,6 +22,10 @@ inputs:
22
22
  description: Fixed metadata corroboration for network-diagnostics (none or digitalocean); allocates nothing.
23
23
  required: false
24
24
  default: none
25
+ diagnostic-host:
26
+ description: Expected local IPv4 address or DNS name for network checks; empty uses the SSH host.
27
+ required: false
28
+ default: ""
25
29
  diagnostic-network:
26
30
  description: Exact owned Compose bridge network key for network-diagnostics.
27
31
  required: false
@@ -38,6 +42,10 @@ inputs:
38
42
  description: Explicit SSH host from the backend binding; no infrastructure fallback.
39
43
  required: true
40
44
  default: ""
45
+ ssh-port:
46
+ description: SSH port of the deploy server; non-default ports require a matching [host]:port key pin.
47
+ required: false
48
+ default: "22"
41
49
  ssh-user:
42
50
  description: SSH user on the deploy server.
43
51
  required: false
@@ -117,6 +125,7 @@ runs:
117
125
  OPERATION: ${{ inputs.operation }}
118
126
  API_DOMAIN: ${{ inputs.api-domain }}
119
127
  DEPLOY_HOST: ${{ inputs.host }}
128
+ DEPLOY_SSH_PORT: ${{ inputs.ssh-port }}
120
129
  run: |
121
130
  case "$OPERATION" in deploy|identity-diagnostics|runtime-diagnostics|network-diagnostics) ;; *) exit 1;; esac
122
131
  # Only a repository with a bound origin holds the deploy key; the panel sets the domain when it binds one.
@@ -126,6 +135,9 @@ runs:
126
135
  elif [[ ! "$DEPLOY_HOST" =~ ^[A-Za-z0-9][A-Za-z0-9.-]*$ ]]; then
127
136
  echo "::error title=backend_host_required::Configure the backend binding's SSH host before deployment"
128
137
  exit 1
138
+ elif [[ ! "$DEPLOY_SSH_PORT" =~ ^[1-9][0-9]{0,4}$ ]] || (( DEPLOY_SSH_PORT > 65535 )); then
139
+ echo "::error title=backend_ssh_port_invalid::SSH port must be an integer from 1 to 65535"
140
+ exit 1
129
141
  fi
130
142
 
131
143
  - name: Validate inputs
@@ -186,13 +198,14 @@ runs:
186
198
  if: inputs.operation == 'deploy' && steps.op.outputs.skip != 'true'
187
199
  shell: bash
188
200
  env:
201
+ DEPLOY_SSH_PORT: ${{ inputs.ssh-port }}
189
202
  BACKEND_DIR: ${{ steps.layout.outputs.path }}
190
203
  COMPOSE_FILE: ${{ steps.layout.outputs.compose-file }}
191
204
  run: |
192
205
  set -euo pipefail
193
206
  source "${{ github.action_path }}/deploy_evidence.sh"
194
207
  BACKEND_DEPLOY_PHASE=sync_backend
195
- SSH="ssh -i ~/.ssh/backend_deploy -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes"
208
+ SSH="ssh -p ${DEPLOY_SSH_PORT:-22} -i ~/.ssh/backend_deploy -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes"
196
209
  DEST="/opt/gowalk-backends/${{ inputs.app-name }}"
197
210
  $SSH "${{ inputs.ssh-user }}@${{ inputs.host }}" "mkdir -p '$DEST'"
198
211
  # --delete keeps the mirror true; preserve the private server-side env files
@@ -237,6 +250,7 @@ runs:
237
250
  if: inputs.operation == 'deploy' && steps.op.outputs.skip != 'true'
238
251
  shell: bash
239
252
  env:
253
+ DEPLOY_SSH_PORT: ${{ inputs.ssh-port }}
240
254
  RUNTIME_ENV: ${{ inputs.runtime-env }}
241
255
  COMPOSE_FILE: ${{ steps.layout.outputs.compose-file }}
242
256
  BACKEND_PUBLIC_HEALTH_URL: ${{ inputs.public-health-url }}
@@ -248,7 +262,7 @@ runs:
248
262
  set -euo pipefail
249
263
  source "${{ github.action_path }}/deploy_evidence.sh"
250
264
  BACKEND_DEPLOY_PHASE=write_runtime_env
251
- SSH="ssh -i ~/.ssh/backend_deploy -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes"
265
+ SSH="ssh -p ${DEPLOY_SSH_PORT:-22} -i ~/.ssh/backend_deploy -o IdentitiesOnly=yes -o StrictHostKeyChecking=yes"
252
266
  DEST="/opt/gowalk-backends/${{ inputs.app-name }}"
253
267
  EDGE_DIR="/opt/gowalk-backend-ingress/${{ inputs.app-name }}"
254
268
  python3 "${{ github.action_path }}/edge_inputs.py" export | $SSH \
@@ -275,12 +289,13 @@ runs:
275
289
  DIAGNOSTIC_SINCE: ${{ inputs.diagnostic-since }}
276
290
  DIAGNOSTIC_HOST: ${{ inputs.host }}
277
291
  DIAGNOSTIC_USER: ${{ inputs.ssh-user }}
292
+ DIAGNOSTIC_PORT: ${{ inputs.ssh-port }}
278
293
  run: |
279
294
  RESULT_DIR="$(mktemp -d "$RUNNER_TEMP/backend-identity-diagnostics.XXXXXX")"
280
295
  echo "result=$RESULT_DIR/result.json" >> "$GITHUB_OUTPUT"
281
296
  python3 "${{ github.action_path }}/identity_diagnostics.py" \
282
297
  --app "$DIAGNOSTIC_APP" --service "$DIAGNOSTIC_SERVICE" --since "$DIAGNOSTIC_SINCE" \
283
- --host "$DIAGNOSTIC_HOST" --user "$DIAGNOSTIC_USER" \
298
+ --host "$DIAGNOSTIC_HOST" --user "$DIAGNOSTIC_USER" --port "$DIAGNOSTIC_PORT" \
284
299
  --output "$RESULT_DIR/result.json"
285
300
 
286
301
  - name: Retain fixed backend identity result
@@ -302,6 +317,7 @@ runs:
302
317
  DIAGNOSTIC_SERVICE: ${{ inputs.diagnostic-service }}
303
318
  DIAGNOSTIC_HOST: ${{ inputs.host }}
304
319
  DIAGNOSTIC_USER: ${{ inputs.ssh-user }}
320
+ DIAGNOSTIC_PORT: ${{ inputs.ssh-port }}
305
321
  DIAGNOSTIC_BUILD: ${{ inputs.expected-build-sha }}
306
322
  run: |
307
323
  RESULT_DIR="$(mktemp -d "$RUNNER_TEMP/backend-runtime-diagnostics.XXXXXX")"
@@ -309,8 +325,8 @@ runs:
309
325
  echo "transport=$RESULT_DIR/transport.json" >> "$GITHUB_OUTPUT"
310
326
  python3 "${{ github.action_path }}/runtime_diagnostics.py" \
311
327
  --app "$DIAGNOSTIC_APP" --service "$DIAGNOSTIC_SERVICE" --expected-build-sha "$DIAGNOSTIC_BUILD" \
312
- --host "$DIAGNOSTIC_HOST" --user "$DIAGNOSTIC_USER" --output "$RESULT_DIR/result.json" \
313
- --transport-output "$RESULT_DIR/transport.json"
328
+ --host "$DIAGNOSTIC_HOST" --user "$DIAGNOSTIC_USER" --port "$DIAGNOSTIC_PORT" \
329
+ --output "$RESULT_DIR/result.json" --transport-output "$RESULT_DIR/transport.json"
314
330
 
315
331
  - name: Retain scoped backend runtime result
316
332
  if: always() && inputs.operation == 'runtime-diagnostics'
@@ -333,7 +349,9 @@ runs:
333
349
  DIAGNOSTIC_SERVICE: ${{ inputs.diagnostic-service }}
334
350
  DIAGNOSTIC_HOST: ${{ inputs.host }}
335
351
  DIAGNOSTIC_USER: ${{ inputs.ssh-user }}
352
+ DIAGNOSTIC_PORT: ${{ inputs.ssh-port }}
336
353
  DIAGNOSTIC_BUILD: ${{ inputs.expected-build-sha }}
354
+ DIAGNOSTIC_BOUND_HOST: ${{ inputs.diagnostic-host }}
337
355
  DIAGNOSTIC_NETWORK: ${{ inputs.diagnostic-network }}
338
356
  DIAGNOSTIC_POOL: ${{ inputs.diagnostic-pool }}
339
357
  DIAGNOSTIC_VPN_SERVICE: ${{ inputs.diagnostic-vpn-service }}
@@ -345,8 +363,10 @@ runs:
345
363
  python3 "${{ github.action_path }}/network_diagnostics.py" \
346
364
  --app "$DIAGNOSTIC_APP" --service "$DIAGNOSTIC_SERVICE" --expected-build-sha "$DIAGNOSTIC_BUILD" \
347
365
  --network "$DIAGNOSTIC_NETWORK" --pool "$DIAGNOSTIC_POOL" --vpn-service "$DIAGNOSTIC_VPN_SERVICE" \
348
- --host "$DIAGNOSTIC_HOST" --user "$DIAGNOSTIC_USER" --provider "$DIAGNOSTIC_PROVIDER" \
349
- --output "$RESULT_DIR/result.json" --transport-output "$RESULT_DIR/transport.json"
366
+ --host "$DIAGNOSTIC_HOST" --user "$DIAGNOSTIC_USER" --port "$DIAGNOSTIC_PORT" \
367
+ --diagnostic-host "$DIAGNOSTIC_BOUND_HOST" \
368
+ --provider "$DIAGNOSTIC_PROVIDER" --output "$RESULT_DIR/result.json" \
369
+ --transport-output "$RESULT_DIR/transport.json"
350
370
 
351
371
  - name: Retain scoped backend network result
352
372
  if: always() && inputs.operation == 'network-diagnostics'
@@ -151,11 +151,15 @@ def local(args):
151
151
  if (not re.fullmatch(r'[A-Za-z0-9][A-Za-z0-9.-]{0,252}', args.host or '')
152
152
  or not re.fullmatch(r'[a-z_][a-z0-9_-]{0,31}', args.user)):
153
153
  raise ReaderFailure('invalid_destination')
154
+ port = str(getattr(args, 'port', '22'))
155
+ if not re.fullmatch(r'[1-9][0-9]{0,4}', port) or int(port) > 65535:
156
+ raise ReaderFailure('invalid_destination')
154
157
  command = shlex.join(['python3', '-', '--remote', '--app', args.app,
155
158
  '--service', args.service, '--since', args.since])
156
159
  try:
157
- status, raw = bounded(['ssh', '-i', str(Path.home() / '.ssh/backend_deploy'), '-o', 'IdentitiesOnly=yes',
158
- '-o', 'BatchMode=yes', '-o', 'ConnectTimeout=10', '-o', 'ServerAliveInterval=5',
160
+ status, raw = bounded(['ssh', '-p', port, '-i', str(Path.home() / '.ssh/backend_deploy'),
161
+ '-o', 'IdentitiesOnly=yes', '-o', 'BatchMode=yes', '-o', 'StrictHostKeyChecking=yes',
162
+ '-o', 'ConnectTimeout=10', '-o', 'ServerAliveInterval=5',
159
163
  '-o', 'ServerAliveCountMax=2', f'{args.user}@{args.host}', command],
160
164
  payload=Path(__file__).read_bytes(), seconds=45, with_status=True)
161
165
  except OSError:
@@ -207,6 +211,7 @@ def main():
207
211
  parser.add_argument('--host')
208
212
  parser.add_argument('--user', default='root')
209
213
  parser.add_argument('--output', help='Exclusive local file for the closed diagnostic envelope')
214
+ parser.add_argument('--port', default='22')
210
215
  args = parser.parse_args()
211
216
  status = 0
212
217
  try:
@@ -13,13 +13,17 @@ from runtime_diagnostics import transport_signals
13
13
 
14
14
  def local(args, transport=None):
15
15
  fields = (args.app, args.service, args.expected_build_sha, args.network, args.pool,
16
- args.vpn_service, args.host, args.provider)
16
+ args.vpn_service, getattr(args, 'diagnostic_host', '') or args.host, args.provider)
17
17
  scope(*fields)
18
- if not re.fullmatch(r'[a-z_][a-z0-9_-]{0,31}', args.user):
18
+ if (not re.fullmatch(r'[a-z_][a-z0-9_-]{0,31}', args.user)
19
+ or not re.fullmatch(r'[A-Za-z0-9][A-Za-z0-9.-]{0,252}', args.host)):
20
+ raise NetworkFailure('invalid_scope')
21
+ port = str(getattr(args, 'port', '22'))
22
+ if not re.fullmatch(r'[1-9][0-9]{0,4}', port) or int(port) > 65535:
19
23
  raise NetworkFailure('invalid_scope')
20
24
  command = shlex.join(['gowalk-backend', 'network-diagnostics', *fields])
21
25
  try:
22
- status, raw, errors = bounded(['ssh', '-T', '-i', str(Path.home() / '.ssh/backend_deploy'),
26
+ status, raw, errors = bounded(['ssh', '-p', port, '-T', '-i', str(Path.home() / '.ssh/backend_deploy'),
23
27
  '-o', 'IdentitiesOnly=yes', '-o', 'BatchMode=yes', '-o', 'StrictHostKeyChecking=yes',
24
28
  '-o', 'ConnectTimeout=10', '-o', 'ServerAliveInterval=5', '-o', 'ServerAliveCountMax=2',
25
29
  '-o', 'ClearAllForwardings=yes', args.user + '@' + args.host, command],
@@ -51,9 +55,11 @@ def main():
51
55
  ('provider', 'none'), ('user', 'root')]:
52
56
  parser.add_argument('--' + name, default=default)
53
57
  parser.add_argument('--transport-output', help='Separate closed SSH observation receipt')
58
+ parser.add_argument('--port', default='22')
59
+ parser.add_argument('--diagnostic-host', default='', help='Expected local IPv4 address or DNS name')
54
60
  args = parser.parse_args()
55
61
  fields = (args.app, args.service, args.expected_build_sha, args.network, args.pool,
56
- args.vpn_service, args.host, args.provider)
62
+ args.vpn_service, getattr(args, 'diagnostic_host', '') or args.host, args.provider)
57
63
  transport = {'schema': 'gowalk-cicd/backend-network-transport.v1', 'exit_status': None, 'signals': []}
58
64
  try:
59
65
  result = local(args, transport)
@@ -34,10 +34,13 @@ def local(args, transport=None):
34
34
  if (not re.fullmatch(r'[A-Za-z0-9][A-Za-z0-9.-]{0,252}', args.host or '')
35
35
  or not re.fullmatch(r'[a-z_][a-z0-9_-]{0,31}', args.user)):
36
36
  raise RuntimeFailure('invalid_scope')
37
+ port = str(getattr(args, 'port', '22'))
38
+ if not re.fullmatch(r'[1-9][0-9]{0,4}', port) or int(port) > 65535:
39
+ raise RuntimeFailure('invalid_scope')
37
40
  command = shlex.join(['gowalk-backend', 'runtime-diagnostics', args.app, args.service,
38
41
  args.expected_build_sha, 'lifecycle'])
39
42
  try:
40
- status, raw, errors = bounded(['ssh', '-T', '-i', str(Path.home() / '.ssh/backend_deploy'),
43
+ status, raw, errors = bounded(['ssh', '-p', port, '-T', '-i', str(Path.home() / '.ssh/backend_deploy'),
41
44
  '-o', 'IdentitiesOnly=yes', '-o', 'BatchMode=yes', '-o', 'StrictHostKeyChecking=yes',
42
45
  '-o', 'ConnectTimeout=10', '-o', 'ServerAliveInterval=5', '-o', 'ServerAliveCountMax=2',
43
46
  '-o', 'ClearAllForwardings=yes', args.user + '@' + args.host, command],
@@ -72,6 +75,7 @@ def main():
72
75
  parser.add_argument('--user', default='root')
73
76
  parser.add_argument('--output', required=True)
74
77
  parser.add_argument('--transport-output', help='Separate closed SSH observation receipt')
78
+ parser.add_argument('--port', default='22')
75
79
  args = parser.parse_args()
76
80
  transport = {'schema': 'gowalk-cicd/backend-runtime-transport.v1', 'exit_status': None, 'signals': []}
77
81
  try:
@@ -171,6 +171,9 @@ for client compatibility, so prove adoption with the install receipt and the for
171
171
  - `udp_ports` classifies fixed UDP ports `500` and `4500` as `free`, exact `app_vpn`, `foreign` or `unknown`.
172
172
  Reuse requires the exact app/vpn-service/directory binding. A host listener not attributable to Docker's
173
173
  proxy stays unknown. This is a timestamped observation, not a port reservation; actual deployment can race.
174
+ - `diagnostic-host` / `BACKEND_DIAGNOSTIC_HOST` may select the VM private IPv4 address or DNS name behind NAT;
175
+ empty uses the SSH host. SSH transport and its key pin remain bound to the public endpoint.
176
+ This local binding observation does not prove public NAT/ingress reachability.
174
177
  - `host.binding` requires the bound host's IPv4 address(es) to match local host addresses. Optional
175
178
  `diagnostic-provider: digitalocean` corroborates fixed metadata with those live interfaces. Metadata
176
179
  unavailable/unverified states remain explicit; metadata does not establish VPC, firewall or routing authority.
@@ -35,6 +35,8 @@ mobile:
35
35
  firebase-app-id: ${{ vars.FIREBASE_APP_ID }}
36
36
  backend:
37
37
  host: ${{ vars.BACKEND_DEPLOY_HOST }}
38
+ ssh-port: ${{ vars.BACKEND_DEPLOY_SSH_PORT || '22' }}
39
+ diagnostic-host: ${{ vars.BACKEND_DIAGNOSTIC_HOST }}
38
40
  runtime-env: ${{ secrets.BACKEND_RUNTIME_ENV }}
39
41
  public-base-url: ${{ vars.BACKEND_PUBLIC_BASE_URL }}
40
42
  public-health-url: ${{ vars.BACKEND_PUBLIC_HEALTH_URL }}
@@ -145,3 +147,15 @@ Routine delivery targets and exact native validation proof are documented in
145
147
  Dispatch input descriptions are app-owned help text: custom wording or explicit removal survives upstream
146
148
  copy edits. Input types, defaults, options and functional workflow conflicts keep the existing strict
147
149
  three-way merge. A removal of an already-absent field does not recreate a retired input or job.
150
+
151
+ Backend `ssh-port` defaults to `22` and must be an integer from `1` to `65535`.
152
+ Set `BACKEND_DEPLOY_SSH_PORT` when multiple deploy VMs share one public address.
153
+ For a non-default port, `BACKEND_DEPLOY_KNOWN_HOSTS` must pin `[host]:port`,
154
+ for example `[deploy.example.com]:22101 ssh-ed25519 <public-key>`.
155
+ Both backend workflow entrypoints and all diagnostic operations use the same port.
156
+
157
+ Backend `diagnostic-host` optionally names the local IPv4 address or DNS host expected by network diagnostics.
158
+ `BACKEND_DIAGNOSTIC_HOST` supplies its default; empty falls back to the SSH `host`.
159
+ It must match `[A-Za-z0-9][A-Za-z0-9.-]{0,252}` (IPv6 literals are unsupported).
160
+ For shared public ingress, use the VM private address here and retain the public address in `host`.
161
+ The reader still verifies local address ownership; public NAT/ingress needs its own acceptance check.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.218",
3
+ "version": "1.0.220",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,7 +9,8 @@ const inputs = {
9
9
  ios: ['project', 'workspace', 'scheme', 'configuration', 'bundle-id', 'team-id', 'firebase-app-id',
10
10
  'native-preparation-manifest'],
11
11
  android: ['project-dir', 'module', 'variant', 'firebase-app-id', 'dart-defines'],
12
- backend: ['ssh-key', 'host', 'app-name', 'api-domain', 'backend-dir', 'compose-file', 'health-path', 'runtime-env',
12
+ backend: ['ssh-key', 'ssh-port', 'diagnostic-host', 'host', 'app-name', 'api-domain', 'backend-dir', 'compose-file',
13
+ 'health-path', 'runtime-env',
13
14
  'public-health-url', 'public-base-url', 'expected-build-sha', 'ingress-required', 'ingress-token'],
14
15
  };
15
16
 
@@ -52,6 +53,13 @@ export function applySettings(config, file, workflow, defaults) {
52
53
  }
53
54
  const job = file === 'deploy.yml' ? 'backend-preview' : file === 'deploy-backend.yml' ? 'deploy' : null;
54
55
  if (job) {
56
+ const action = job === 'deploy' ? 'Deploy backend' : 'Deploy backend from feature branch';
57
+ for (const key of ['ssh-port', 'diagnostic-host']) {
58
+ const value = config.backend?.[key];
59
+ if (value !== undefined) assign(workflow, {
60
+ path: ['jobs', job, 'steps', 'items', 'name:' + action, 'with', key], value,
61
+ });
62
+ }
55
63
  for (const [key, output, variable] of [['backend-dir', 'path', 'BACKEND_DIR_INPUT'],
56
64
  ['compose-file', 'compose', 'COMPOSE_FILE_INPUT']]) {
57
65
  const value = config.backend?.[key];
@@ -91,6 +91,8 @@ jobs:
91
91
  ssh-key: ${{ secrets.BACKEND_DEPLOY_SSH_KEY }}
92
92
  known-hosts: ${{ vars.BACKEND_DEPLOY_KNOWN_HOSTS }}
93
93
  host: ${{ vars.BACKEND_DEPLOY_HOST }}
94
+ ssh-port: ${{ vars.BACKEND_DEPLOY_SSH_PORT || '22' }}
95
+ diagnostic-host: ${{ vars.BACKEND_DIAGNOSTIC_HOST }}
94
96
  app-name: ${{ vars.BACKEND_APP_NAME || github.event.repository.name }}
95
97
  api-domain: ${{ vars.BACKEND_API_DOMAIN }}
96
98
  backend-dir: ${{ steps.dir.outputs.path }}
@@ -852,6 +852,8 @@ jobs:
852
852
  ssh-key: ${{ secrets.BACKEND_DEPLOY_SSH_KEY }}
853
853
  known-hosts: ${{ vars.BACKEND_DEPLOY_KNOWN_HOSTS }}
854
854
  host: ${{ vars.BACKEND_DEPLOY_HOST }}
855
+ ssh-port: ${{ vars.BACKEND_DEPLOY_SSH_PORT || '22' }}
856
+ diagnostic-host: ${{ vars.BACKEND_DIAGNOSTIC_HOST }}
855
857
  app-name: ${{ vars.BACKEND_APP_NAME || github.event.repository.name }}
856
858
  api-domain: ${{ vars.BACKEND_API_DOMAIN }}
857
859
  backend-dir: ${{ steps.dir.outputs.path }}
Binary file