git-secret/.ci/before_deploy.sh
2016-06-30 22:32:42 +03:00

16 lines
323 B
Bash

#!/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
if [[ ! -z "$DOCKER_DIST" ]]; then
# When making a non-container build, this step will generate
# proper manifest files:
make "deploy-${GITSECRET_DIST}";
fi