#!/usr/bin/env bash
set -euvx
cd $1
tmp=$(mktemp deployXXX)
trap 'rm $tmp' EXIT
[ -f pre.sh ] && ./pre.sh
fly deploy --detach
