fix: use GITHUB_ACTION variable for SSH agent start in entrypoint script

This commit is contained in:
Burnett01 2025-09-01 15:25:56 +00:00
parent 055751bf9e
commit e9f72e6ef0

View file

@ -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.