-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I found an issue with this document.
Title: Integrating flyctl
Location: https://fly.io/docs/flyctl/integrating/
Source: https://github.com/superfly/docs/blob/main/flyctl/integrating.html.md
Describe the issue
It seems the -t or --access-token flag no longer works.. I'm trying to use flyctl deploy ....
On CI it says:
$ flyctl deploy --config fly.staging.toml --remote-only -t "$FLY_API_TOKEN_STAGING"
Error: No access token available. Please login with 'flyctl auth login'
And on local terminal it says:
Welcome back!
Your session has expired, please log in to continue using flyctl.
But if I use the same token passing it to the FLY_ACCESS_TOKEN environment variable it works as expected.
This broke my CI pipeline so I'll change it to use the environment variable, but this CLI flag should either be fixed or removed from the docs.