We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec083fd commit 6d94379Copy full SHA for 6d94379
1 file changed
bin/stashcp2/tests/build_docs.sh
@@ -1,9 +1,7 @@
1
#!/bin/sh -xe
2
3
-if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ -z ${encrypted_e92dfea3fdc7_key+x} ]; then
+if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ ! -z ${encrypted_e92dfea3fdc7_key+x} ]; then
4
5
- # Check if the environment variables are set
6
- if [ -z ${var+x} ]; then
7
openssl aes-256-cbc -K $encrypted_e92dfea3fdc7_key -iv $encrypted_e92dfea3fdc7_iv -in deploy-key.enc -out deploy-key -d
8
chmod 600 deploy-key
9
eval `ssh-agent -s`
0 commit comments