blob: 998ded52f599abc528f6eb2d3d6ecb51bba7bb07 [file] [log] [blame]
#! /bin/bash
DIR=`readlink "$0"` || DIR="$0";
DIR=`dirname "$DIR"`;
cd "$DIR"
DIR=`pwd -P`
read -n 1 -p "Run \`gclients sync --reset --upstream\`? [yN]" ANSWER
if [ "$ANSWER" != "${ANSWER#[Yy]}" ] ;then
gclient sync --reset --upstream
fi
echo "Deploying " $DIR;
firebase deploy --only hosting:default;