diff --git a/build-and-deploy.sh b/build-and-deploy.sh new file mode 100755 index 0000000..2405cef --- /dev/null +++ b/build-and-deploy.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -euo pipefail + +BUILD_TARGET="${1:-}" +DEPLOY_TARGET="${2:-}" + +if test -z "$BUILD_TARGET" || test -z "$DEPLOY_TARGET"; then + echo "USAGE: ${0:-} BUILD_TARGET DEPLOY_TARGET" + exit 1 +fi + +./build.sh "$BUILD_TARGET" +./deploy.sh "$DEPLOY_TARGET" result