Skip to content

Commit

Permalink
add a combo build-and-deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Sep 14, 2021
1 parent a5ef565 commit 4b6c85e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 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

0 comments on commit 4b6c85e

Please sign in to comment.