mirror of
https://gitee.com/jiulinxiri/ssh-scp-deploy.git
synced 2025-12-24 02:25:31 +08:00
Changed Dockerfile.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
PASSWORD=${INPUT_PASSWORD}
|
PASSWORD=${INPUT_PASSWORD};
|
||||||
KEY=${INPUT_KEY}
|
KEY=${INPUT_KEY};
|
||||||
|
|
||||||
if [ -z "$PRE_UPLOAD" and "$PASSWORD"]; then
|
if [ -z "$PRE_UPLOAD" and "$PASSWORD"]; then
|
||||||
echo "🔑 Please provide at least a key or a password...";
|
echo "🔑 Please provide at least a key or a password...";
|
||||||
exit 0;
|
exit 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user