mirror of
https://gitee.com/jiulinxiri/ssh-scp-deploy.git
synced 2025-09-10 02:15:25 +08:00
Fixes #9
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
PASSWORD=${INPUT_PASSWORD};
|
||||
KEY=${INPUT_KEY};
|
||||
|
||||
if [ -z "$PRE_UPLOAD" ] && [ "$PASSWORD" ]; then
|
||||
if [ -z "$KEY" ] && [ -z "$PASSWORD" ]; then
|
||||
echo "🔑 Please provide at least a key or a password...";
|
||||
exit 0;
|
||||
fi
|
||||
|
Reference in New Issue
Block a user