mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2026-09-19 21:25:22 +08: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
|
||||
|
||||
# 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
|
||||
|
||||
# Variables.
|
||||
|
||||
Reference in New Issue
Block a user