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