From 65e085204c9d4dc6b7c6196ded96d901450670df Mon Sep 17 00:00:00 2001 From: Andy Haden Date: Thu, 25 Oct 2018 14:42:19 -0700 Subject: [PATCH] deploy script compatible with latest azure cli --- scripts/deploy.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/deploy.sh diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..cc1f7b7 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e + +pushd build/ +find . -not -name "*.map" -type f | while read f; do + az storage blob upload --account-name chffrdist --file "$f" --container-name cabana --name "$f" +done +popd + +pushd public +find img -type f | while read f; do + az storage blob upload --account-name chffrdist --file "$f" --container-name cabana --name "$f" +done +popd