Changed entrypoiny.sh .

This commit is contained in:
Marco Dalla Santa
2020-12-21 22:05:47 +01:00
parent 3393f06782
commit b4eb8f8a33
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: marcodallasanta/ssh-scp-deploy@development - uses: marcodallasanta/ssh-scp-deploy@main
with: with:
local: "./" local: "./"
remote: "~/" remote: "~/"

View File

@@ -3,7 +3,7 @@
PASSWORD=${INPUT_PASSWORD}; PASSWORD=${INPUT_PASSWORD};
KEY=${INPUT_KEY}; KEY=${INPUT_KEY};
if [ -z "$PRE_UPLOAD" and "$PASSWORD"]; then if [ -z "$PRE_UPLOAD" ] && [ "$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;
fi fi