#!/bin/bash

set -e

if [ $# -eq 0 ]
  then
    echo "Specify a branch name, a tag, or a commit hash"
    exit 1
fi

if [ $# -eq 1 ]
  then
    echo "Specify the host"
    exit 1
fi

php bin/dep deploy $2 --ansi --revision="$1"
