Skip to content

Commit 49b1071

Browse files
committed
[meta] ensure deploy script does not fail on forks
1 parent b8003a5 commit 49b1071

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/auto-deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
declare -r PRIVATE_KEY_FILE_NAME='github_deploy_key'
44

5+
if [ -z "${encrypted_1e2182e20f4c_iv-}" ] || [ -z "${encrypted_1e2182e20f4c_key}" ]; then
6+
echo >&2 'secure keys do not exist'
7+
exit 0
8+
fi
9+
510
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
611

712
# Decrypt the file containing the private key

0 commit comments

Comments
 (0)