Skip to content

[TRI-5841] When used in CI the CLI should explain how to set the TRIGGER_ACCESS_TOKEN #2255

@matt-aitken

Description

@matt-aitken

The CLI requires you to authenticate. On your local machine that involves jumping to the browser and back to create and store a Personal Access Token (PAT) on your machine.

In CI (like GitHub Actions) that's not possible, so you need to set the TRIGGER_ACCESS_TOKEN to a PAT you create.

We should automatically detect that process.env.CI is set and instead of trying to direct you to a browser we should explain you need to set the access token, and link to our docs. We could also link to the page in the dashboard where you create them (https://cloud.trigger.dev/account/tokens).

TRI-5841

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