这是indexloc提供的服务,不要输入任何密码
Skip to content

📚 Docs: fix doc errors on using remote caching with hobby account #10299

@altano

Description

@altano

What is the improvement or update you wish to see?

On this documentation: https://turbo.build/docs/guides/ci-vendors/github-actions

I believe there are two errors:

Issue 1: Hobby accounts should use the default team, and not the username

The documentation states:

Your Team URL can be found inside your team's general project settings from the dashboard. If you're using a Hobby Plan, you can use your username. Your username can be found in your Vercel Personal Account Settings

I was able to get remote caching to work with the Default Team from settings and not my username:

Image

Issue 2: The yaml has some stray characters

This code example for ci.yml:
Image

    env:
      TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} // [!code highlight]
      TURBO_TEAM: ${{ vars.TURBO_TEAM }} // [!code highlight]

has extra characters ( // [!code highlight]) that made remote caching not work. I didn't notice these at first and I was getting this error:

WARNING Insufficient permissions to write to remote cache. Please verify that your role has write access for Remote Cache Artifact at https://vercel.com/docs/accounts/team-members-and-roles/access-roles/team-level-roles?resource=Remote+Cache+Artifact

I was able to fix the error by removing // [!code highlight]

Is there any context that might help us understand?

n/a

Does the docs page already exist? Please link to it.

https://turbo.build/docs/guides/ci-vendors/github-actions

Metadata

Metadata

Assignees

Labels

area: docsImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions