supply SSH_PASS (key passphrase) to agent-add
Read more about the behavior: https://github.com/JoshPiper/rsync-docker#agent-askpass
This commit is contained in:
parent
10fb064291
commit
a5add46e0d
@ -2,7 +2,7 @@
|
||||
|
||||
# Start the SSH agent and load key.
|
||||
source agent-start "$GITHUB_ACTION"
|
||||
echo "$INPUT_REMOTE_KEY" | agent-add
|
||||
echo "$INPUT_REMOTE_KEY" | SSH_PASS="$INPUT_REMOTE_KEY_PASS" agent-add
|
||||
|
||||
# Add strict errors.
|
||||
set -eu
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user