mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-28 03:23:37 +00:00
fix: use GITHUB_ACTION variable for SSH agent start in entrypoint script
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ source ssh-init
|
|||||||
source hosts-init
|
source hosts-init
|
||||||
|
|
||||||
# Start the SSH agent and load key.
|
# Start the SSH agent and load key.
|
||||||
source agent-start default
|
source agent-start "$GITHUB_ACTION"
|
||||||
printf '%s' "$INPUT_REMOTE_KEY" | SSH_PASS="${INPUT_REMOTE_KEY_PASS}" agent-add >/dev/null 2>&1
|
printf '%s' "$INPUT_REMOTE_KEY" | SSH_PASS="${INPUT_REMOTE_KEY_PASS}" agent-add >/dev/null 2>&1
|
||||||
|
|
||||||
# Variables.
|
# Variables.
|
||||||
|
|||||||
Reference in New Issue
Block a user