Skip to content

Commit

Permalink
Merge pull request #108 from depot/luke/update-sccache-docs
Browse files Browse the repository at this point in the history
chore: update sccache configuration instructions
  • Loading branch information
lukevmorris authored Jan 9, 2025
2 parents ca4fafc + 52f9b51 commit a86342f
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 instead specify a password along with which organization should be used 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 a86342f

Please sign in to comment.