#!/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