Skip to content

Commit

Permalink
chore: update sccache configuration instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevmorris committed Jan 9, 2025
1 parent ca4fafc commit ddbaa38
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/cache/reference/sccache.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ To manually configure sccache to use Depot Cache, you will need to set two envir

```shell
export SCCACHE_WEBDAV_ENDPOINT=https://cache.depot.dev
export SCCACHE_WEBDAV_PASSWORD=DEPOT_TOKEN
export SCCACHE_WEBDAV_TOKEN=DEPOT_TOKEN
```

If you are a member of multiple organizations, and you are authenticating with a user token, you must additionally specify which organization to use for cache storage as follows:
If you are a member of multiple organizations, and you are authenticating with a user token, you must specify a password as well as which organization to use for cache storage as follows:

```shell
export SCCACHE_WEBDAV_ENDPOINT=https://cache.depot.dev
export SCCACHE_WEBDAV_USERNAME=DEPOT_ORG_ID
export SCCACHE_WEBDAV_PASSWORD=DEPOT_TOKEN
```

## Using Depot Cache with sccache
Expand Down

0 comments on commit ddbaa38

Please sign in to comment.