Skip to content

Fly deploy: install flyctl manually so PATH propagates to next step#38

Merged
dougdevitre merged 1 commit into
mainfrom
claude/fly-install-fix
May 16, 2026
Merged

Fly deploy: install flyctl manually so PATH propagates to next step#38
dougdevitre merged 1 commit into
mainfrom
claude/fly-install-fix

Conversation

@dougdevitre
Copy link
Copy Markdown
Owner

Why

The previous workflow run failed at "Ensure Fly app exists" with:

fly: command not found
Error: Process completed with exit code 127.

superfly/flyctl-actions/setup-flyctl@master ran the previous step but didn't propagate flyctl to PATH for subsequent steps. Likely a regression on @master (unpinned versions are fragile).

Fix

Replace the action with a manual install that pipes Fly's published install script to $HOME/.fly/bin, then explicitly appends that directory to $GITHUB_PATH. Verifies the binary in the same step using its absolute path (PATH changes only take effect for later steps).

This is the install pattern Fly's docs recommend when you don't want to depend on a third-party action.

Test plan


Generated by Claude Code

superfly/flyctl-actions/setup-flyctl@master left the runner without
flyctl on PATH for the next step — "Ensure Fly app exists" hit
"fly: command not found" with exit 127. Likely a recent regression
in the action's PATH propagation.

Replace with a manual install that:
- curls Fly's install script to $HOME/.fly/bin
- appends that directory to $GITHUB_PATH so every subsequent step
  sees flyctl
- verifies the binary in the same step with an absolute path
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cotrackpro-talk Building Building Preview, Comment May 16, 2026 4:32pm

Request Review

@dougdevitre dougdevitre merged commit f863cff into main May 16, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants