From 88c096e0e071e135c8d5c6011d1e3dd869f877e9 Mon Sep 17 00:00:00 2001 From: Seth Etter Date: Mon, 5 Jan 2026 21:02:43 -0600 Subject: [PATCH] Deploy script --- deploy.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 deploy.sh 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 -- 2.51.2