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) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-04-17 14:26:29 -07:00
commit 65bc21b162

View file

@ -3,5 +3,8 @@
set -euo pipefail 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" cd "$(dirname "$0")/../fly"
fly deploy "$@" fly deploy "$@"