diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..ddaf1e1 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -e + +if ! wrangler whoami 2>/dev/null | grep '@sethetter.com'; then + echo "Not logged in with the right cloudflare account" + echo "Run 'wrangler login' to authenticate" + exit 1 +fi + +npm run deploy