ssh-action/entrypoint.sh
2024-01-02 21:49:20 +00:00

15 lines
213 B
Bash
Executable File

#!/bin/sh
set -eu
set -o pipefail
export GITHUB="true"
{
sh -c "/bin/drone-ssh $*"
} | tee /tmp/outFile
echo "stdout<<EOF" >> $GITHUB_OUTPUT
cat /tmp/outFile >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT