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:
parent
7a42aeb77c
commit
65bc21b162
1 changed files with 3 additions and 0 deletions
|
|
@ -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 "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue