Skip to content

Issue with the "Integrating flyctl" doc #2311

@colinmollenhour

Description

@colinmollenhour

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions