Merge pull request #11 from marcodallasanta/development

Fix #9
This commit is contained in:
Marco Dalla Santa
2021-02-10 16:44:36 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
# [Unreleased] # [Unreleased]
## [v1.0.4] - 2021-02-10
### Fixed
- Issue #9 - Wrong if on password.
## [v1.0.3] - 2021-02-08 ## [v1.0.3] - 2021-02-08
@@ -23,6 +27,7 @@
[unreleased]: https://github.com/marcodallasanta/ssh-scp-deploy/compare/main...development [unreleased]: https://github.com/marcodallasanta/ssh-scp-deploy/compare/main...development
[v1.0.4]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.4
[v1.0.3]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.3 [v1.0.3]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.3
[v1.0.2]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.2 [v1.0.2]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.2
[v1.0.1]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.1 [v1.0.1]: https://github.com/underscore69/ssh-scp-deploy/tree/v1.0.1

View File

@@ -3,7 +3,7 @@
PASSWORD=${INPUT_PASSWORD}; PASSWORD=${INPUT_PASSWORD};
KEY=${INPUT_KEY}; 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..."; echo "🔑 Please provide at least a key or a password...";
exit 0; exit 0;
fi fi