git-secret/.ci/before_deploy.sh

15 lines
353 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
if [[ "$GITSECRET_DIST" == "rpm" ]]; then
# To deploy `rpm`-packages this utility is needed:
sudo apt-get install -y rpm;
fi
2017-09-27 22:30:54 +00:00
if [[ ! -z "$GITSECRET_DIST" ]] && [[ -z "$KITCHEN_REGEXP" ]]; then
# When making a non-container build, this step will generate
# proper manifest files:
2017-09-27 22:30:54 +00:00
make "deploy-$GITSECRET_DIST";
fi