deploy script compatible with latest azure cli

main
Andy Haden 2018-10-25 14:42:19 -07:00
parent 3bc5639499
commit 65e085204c
1 changed files with 14 additions and 0 deletions

14
scripts/deploy.sh 100755
View File

@ -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