这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ Copy the value to a safe place. You'll need it in a moment.
![CircleCI Environment Variables](/images/docs/circleci-environment-variables.png)
![CircleCI Create Environment Variables](/images/docs/circleci-create-environment-variables.png)

3. Make a second secret called `TURBO_TEAM` and enter the value of your team's Vercel URL _without_ the `vercel.com/`. 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](https://vercel.com/account)

![Vercel Account Slug](/images/docs/vercel-slug.png)
3. Make a second secret called `TURBO_TEAM` and enter [your Team URL](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fsettings&title=Find+Team+URL).

4. CircleCI automatically loads environment variables stored in project settings into the CI environment. No modifications are necessary for the CI file.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: Learn how to use GitHub Actions with Turborepo.

import { PackageManagerTabs, Tab } from '#/components/tabs';
import { Steps, Step } from '#/components/steps';
import { Callout } from '#/components/callout';

The following example shows how to use Turborepo with [GitHub Actions](https://github.com/features/actions).

Expand Down Expand Up @@ -187,7 +188,7 @@ To use Remote Caching with GitHub Actions, add the following environment variabl
to make them available to your `turbo` commands.

- `TURBO_TOKEN` - The Bearer token to access the Remote Cache
- `TURBO_TEAM` - The account to which the monorepo belongs
- `TURBO_TEAM` - The account to which the repository belongs

To use Remote Caching, retrieve the team and token for the Remote Cache for your provider. In this example, we'll use [Vercel Remote Cache](https://vercel.com/docs/monorepos/remote-caching).

Expand All @@ -209,14 +210,14 @@ Go to your GitHub repository settings and click on the **Secrets** and then **Ac
</Step>

<Step>
Create a new repository variable (click the **Variables** tab) called `TURBO_TEAM` and enter the value of your team's Vercel URL _without_ the `vercel.com/`.
Using a repository variable rather than a secret will keep GitHub Actions from censoring your team name in log output.
Create a new repository variable (click the **Variables** tab) called `TURBO_TEAM` and enter [your Team URL](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fsettings&title=Find+Team+URL).

![GitHub Repository Variables](/images/docs/vercel-team-repo-var.png)

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](https://vercel.com/account)
<Callout type="good-to-know">
Using a repository variable rather than a secret will keep GitHub Actions from
censoring your team name in log output.
</Callout>

![Vercel Account Slug](/images/docs/vercel-slug.png)
![GitHub Repository Variables](/images/docs/vercel-team-repo-var.png)

</Step>
<Step>
Expand Down
8 changes: 3 additions & 5 deletions docs/site/content/repo-docs/guides/ci-vendors/gitlab-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Create a file called `.gitlab-ci.yml` in your repository with the following cont
To use Remote Caching, retrieve the team and token for the Remote Cache for your provider. In this example, we'll use [Vercel Remote Cache](https://vercel.com/docs/monorepos/remote-caching):

- `TURBO_TOKEN` - The Bearer token to access the Remote Cache
- `TURBO_TEAM` - The account to which the monorepo belongs
- `TURBO_TEAM` - The account to which the repository belongs

To use Vercel Remote Caching, you can get the value of these variables in a few steps:

Expand All @@ -124,8 +124,6 @@ Copy the value to a safe place. You'll need it in a moment.
![GitLab CI Variables](/images/docs/gitlab-ci-variables.png)
![GitLab CI Create Variable](/images/docs/gitlab-ci-create-variable.png)

3. Make a second secret called `TURBO_TEAM` and enter the value of your team's Vercel URL _without_ the `vercel.com/`. Your Team URL can be found inside your team's general project settings from the dashboard.
3. Make a second secret called `TURBO_TEAM` and enter [your Team URL](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fsettings&title=Find+Team+URL).

If you're using a Hobby Plan, you can use your username. Your username can be found in your [Vercel Personal Account Settings](https://vercel.com/account)

![Vercel Account Slug](/images/docs/vercel-slug.png)
Remote Caching will now be operational in your GitLab workflows.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ Copy the value to a safe place. You'll need it in a moment.

![Travis CI Variables](/images/docs/travis-ci-environment-variables.png)

3. Make a second secret called `TURBO_TEAM` and enter the value of your team's Vercel URL _without_ the `vercel.com/`. 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](https://vercel.com/account)

![Vercel Account Slug](/images/docs/vercel-slug.png)
3. Make a second secret called `TURBO_TEAM` and enter [your Team URL](https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fsettings&title=Find+Team+URL).

4. Travis CI automatically loads environment variables stored in project settings into the CI environment. No modifications are necessary for the CI file.
Binary file removed docs/site/public/images/docs/vercel-slug.png
Binary file not shown.
Loading