about summary refs log tree commit diff
path: root/website/sandbox/contentful/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'website/sandbox/contentful/.envrc')
-rw-r--r--website/sandbox/contentful/.envrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/sandbox/contentful/.envrc b/website/sandbox/contentful/.envrc
index 98e1d2c821f9..848d74e8b5e6 100644
--- a/website/sandbox/contentful/.envrc
+++ b/website/sandbox/contentful/.envrc
@@ -1,4 +1,4 @@
 source_up
 use_nix
-export CONTENTFUL_SPACE_ID="$(pass show programming/contentful/space-id)"
-export CONTENTFUL_ACCESS_TOKEN="$(pass show programming/contentful/access-token)"
+export CONTENTFUL_SPACE_ID="$(jq -j '.contentful | .spaceId' < ~/briefcase/secrets.json)"
+export CONTENTFUL_ACCESS_TOKEN="$(jq -j '.contentful | .accessToken' < ~/briefcase/secrets.json)"