Skip to content

Commit

Permalink
Also test for absence of GPG_PASSPHRASE
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshan George committed Jul 17, 2019
1 parent 93e736e commit 3712fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [ -z "$GPG_KEY_NAME" ]; then
exit 1
fi

if [ -z "$GPG_KEY_NAME" ]; then
if [ -z "$GPG_PASSPHRASE" ]; then
echo "missing environment value: GPG_PASSPHRASE" >&2
exit 1
fi
Expand Down

0 comments on commit 3712fd0

Please sign in to comment.