Skip to content

Commit a86342f

Browse files
authored
Merge pull request #108 from depot/luke/update-sccache-docs
chore: update sccache configuration instructions
2 parents ca4fafc + 52f9b51 commit a86342f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/cache/reference/sccache.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ To manually configure sccache to use Depot Cache, you will need to set two envir
2424

2525
```shell
2626
export SCCACHE_WEBDAV_ENDPOINT=https://cache.depot.dev
27-
export SCCACHE_WEBDAV_PASSWORD=DEPOT_TOKEN
27+
export SCCACHE_WEBDAV_TOKEN=DEPOT_TOKEN
2828
```
2929

30-
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:
30+
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:
3131

3232
```shell
33+
export SCCACHE_WEBDAV_ENDPOINT=https://cache.depot.dev
3334
export SCCACHE_WEBDAV_USERNAME=DEPOT_ORG_ID
35+
export SCCACHE_WEBDAV_PASSWORD=DEPOT_TOKEN
3436
```
3537

3638
## Using Depot Cache with sccache

0 commit comments

Comments
 (0)