diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e01172..ca794dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # [Unreleased] +## [v1.0.4] - 2021-02-10 + +### Fixed +- Issue #9 - Wrong if on password. ## [v1.0.3] - 2021-02-08 @@ -23,6 +27,7 @@ [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.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 diff --git a/entrypoint.sh b/entrypoint.sh index cd55f05..c0a7dfb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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