drone script fixes
continuous-integration/drone/push Build is passing Details

production
Override-6 2 years ago
parent 3bd0662ab0
commit d879e65d63

@ -10,9 +10,9 @@ elif [ "$(command -v yum)" ]; then
yum -y install openssh-client openssh-clients > /dev/null
elif [ "$(command -v apk)" ]; then
apk update > /dev/null
apk add openssh-client openssh-clients > /dev/null
apk add openssh > /dev/null
else
echo "could not find a package manager, anborting" >&2
echo "could not find a package manager, aborting" >&2
exit 1
fi
echo "done."
@ -37,7 +37,7 @@ case "$DRONE_BRANCH" in
"")
echo "DRONE_BRANCH is missing" >&2
exit 1
;;
;;
*)
echo "branch $1 is unable to perform delivery, authorized branches are 'dev and production' for delivery." >&2
echo "delivery step skipped"