diff --git a/rsync-docker.sh b/rsync-docker.sh index b399ac0..01323c0 100755 --- a/rsync-docker.sh +++ b/rsync-docker.sh @@ -12,8 +12,8 @@ set -x # SSHKEY: ${{ inputs.sshkey }} rsync::ssh() { - : "${SSHKEY?Please provide a SSH Private Key (ED25519).}" : "${GITHUB_WORKSPACE?GITHUB_WORKSPACE has to be set. Did you use the actions/checkout action?}" + : "${SSHKEY?Please provide a SSH Private Key (ED25519).}" : "${HOST?Destination Server}" pushd "${GITHUB_WORKSPACE}" printf "Add SSH Private Key" @@ -35,3 +35,4 @@ rsync::transfer() { } rsync::ssh +rsync::transfer