andie
August 16, 2023, 9:31pm
2
Hi @nicolasvegam
This could be a token issue. If you have more than one app (like production and staging) and are using deploy tokens, then you’ll need to create separate tokens for each app (for FLY_API_TOKEN
).
Check out:
fly deploy --remote-only works from my dev machine (Macbook), but has an error in GHA. Local flyctl version: fly v0.0.522 darwin/amd64 Commit: 336114ae BuildDate: 2023-04-15T06:13:21Z
Build log:
==> Verifying app config
Validating <redacted>/fly.toml
--> Verified app config
WARNING: Failed to fetch platform version: Could not find App "<redacted>"
✓ Configuration is valid
Error: Could not find App "<redacted>"
Run 'flyctl --help' for usage.
Error: Process completed with exit code 1.
Workflo…
and
I’m having strange errors trying to deploy a remix app. I can deploy the staging version of the app, but not the production version. I get an error like so:
Run superfly/flyctl-actions@1.3
with:
args: deploy --remote-only --build-arg COMMIT_SHA=485701b21a47fb55ca1d5372a9de363bf349fb74
env:
FLY_API_TOKEN: ***
/usr/bin/docker run --name bedb408083332fa91461699b581539b5e2976_dc0118 --label 5bedb4 --workdir /github/workspace --rm -e "FLY_API_TOKEN" -e "INPUT_ARGS" -e "HOME" -e "GITHUB_J…
1 Like