mirror of
https://github.com/appleboy/ssh-action.git
synced 2026-06-30 00:52:09 +00:00
Compare commits
3 Commits
396c696e03
...
164b6acc22
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
164b6acc22 | ||
|
|
384d12c1a4 | ||
|
|
a3c6d747c4 |
@ -67,6 +67,9 @@ inputs:
|
||||
description: 'Enable debug mode.'
|
||||
allenvs:
|
||||
description: 'pass all environment variable to shell script.'
|
||||
outputs:
|
||||
stdout:
|
||||
description: 'Standard output of the executed commands.'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
|
||||
@ -1,7 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
export GITHUB="true"
|
||||
|
||||
sh -c "/bin/drone-ssh $*"
|
||||
{
|
||||
sh -c "/bin/drone-ssh $*"
|
||||
} | tee /tmp/outFile
|
||||
|
||||
echo "stdout<<EOF" >> $GITHUB_OUTPUT
|
||||
cat /tmp/outFile >> $GITHUB_OUTPUT
|
||||
echo "EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user