Skip to content

Commit 399febe

Browse files
authored
Merge pull request #84 from dokku/passphrase-support
feat: add support for setting an ssh passphrase to use for ssh commands
2 parents 7c531e1 + 8545ad0 commit 399febe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ Please note that this action is compatible with `dokku >= 0.11.6`.
5959
-----END OPENSSH PRIVATE KEY-----
6060
```
6161
62+
- `ssh_passphrase`: (_optional_) Passphrase to use when interacting with an SSH key that has a passphrase
63+
- example value: `password`
64+
6265
- `trace`: (_optional_) Allows users to debug what the action is performing by enabling shell trace mode
6366
- example value: `1`
6467

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ inputs:
5252
ssh_private_key:
5353
description: "A private SSH key that has push access to your Dokku instance"
5454
required: true
55+
ssh_passphrase:
56+
description: "Passphrase to use when interacting with an SSH key that has a passphrase"
57+
required: false
58+
default: ""
5559
trace:
5660
description: "Allows users to debug what the action is performing by enabling shell trace mode"
5761
required: false
@@ -75,4 +79,5 @@ runs:
7579
REVIEW_APP_NAME: ${{ inputs.review_app_name }}
7680
SSH_HOST_KEY: ${{ inputs.ssh_host_key }}
7781
SSH_PRIVATE_KEY: ${{ inputs.ssh_private_key }}
82+
SSH_PASSPHRASE: ${{ inputs.ssh_passphrase }}
7883
TRACE: ${{ inputs.trace }}

0 commit comments

Comments
 (0)