Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@matt-aitken

Description

@matt-aitken
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.