mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
40 lines
904 B
YAML
40 lines
904 B
YAML
name: SSH Debug
|
|
run-name: "SSH Debug ${{ inputs.runner }}"
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
runner:
|
|
type: string
|
|
required: True
|
|
description: The runner to start a tunnel on.
|
|
offer:
|
|
type: string
|
|
required: True
|
|
description: SDP Offer
|
|
public_key:
|
|
type: string
|
|
required: True
|
|
description: Your public key for ssh access.
|
|
debug:
|
|
required: false
|
|
type: boolean
|
|
default: false
|
|
description: Run sshd with debug enabled.
|
|
|
|
|
|
|
|
jobs:
|
|
debug:
|
|
runs-on: ${{ inputs.runner }}
|
|
if: ${{ inputs.runner }}
|
|
environment: ci
|
|
steps:
|
|
|
|
- name: Checkout Source Code
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: ./.github/actions/ssh-tunnel
|
|
with:
|
|
public_key: ${{ inputs.public_key }}
|
|
offer: ${{ inputs.offer }}
|
|
debug: ${{ inputs.debug }}
|