From 65bc21b16293c8eb0ef492dd83bfd79dc22cdb7e Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Fri, 17 Apr 2026 14:26:29 -0700 Subject: [PATCH] Add op-based auth to fly-deploy mise task The task was missing FLY_API_TOKEN injection, requiring manual fly auth login. Now uses op read to fetch the deploy token from 1Password. Co-Authored-By: Claude Opus 4.6 (1M context) --- mise-tasks/fly-deploy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mise-tasks/fly-deploy b/mise-tasks/fly-deploy index bb2b4f8..8d693fd 100755 --- a/mise-tasks/fly-deploy +++ b/mise-tasks/fly-deploy @@ -3,5 +3,8 @@ set -euo pipefail +export FLY_API_TOKEN +FLY_API_TOKEN="$(op read 'op://blumeops/fly.io admin/add more/deploy-token')" + cd "$(dirname "$0")/../fly" fly deploy "$@"