mirror of
https://github.com/Burnett01/rsync-deployments.git
synced 2025-12-19 11:12:18 +01:00
fix: use GITHUB_ACTION variable for SSH agent start in entrypoint script
This commit is contained in:
parent
055751bf9e
commit
e9f72e6ef0
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue