blob: 69664a8788db77c85ca6a11873b1bfacbb7d6546 [file] [log] [blame]
#! /bin/bash
# a simpler version for single dereferencing
DIR=`readlink "$0"` || DIR="$0";
DIR=`dirname "$DIR"`;
cd "$DIR"
DIR=`pwd -P`
read -n 1 -p "Run \`gclient sync --reset --upstream\`? [yN]" ANSWER
if [ "$ANSWER" != "${ANSWER#[Yy]}" ] ;then
gclient sync --reset --upstream
fi
echo "Deploying " $DIR;
# Only needed for initial setup stored in .firebaserc
# for ID in `seq 0 34`; do
# firebase target:apply hosting $ID chromium-workloads-$ID;
# done
for ID in `seq 0 34`; do
firebase deploy --only hosting:$ID;
done