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>
10 lines
235 B
Bash
Executable file
10 lines
235 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#MISE description="Deploy the Fly.io public proxy"
|
|
|
|
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 "$@"
|