about summary refs log tree commit diff
path: root/users/wpcarro/website/sandbox/contentful/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/website/sandbox/contentful/.envrc')
-rw-r--r--users/wpcarro/website/sandbox/contentful/.envrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/users/wpcarro/website/sandbox/contentful/.envrc b/users/wpcarro/website/sandbox/contentful/.envrc
index 848d74e8b5..e9d0356aaa 100644
--- a/users/wpcarro/website/sandbox/contentful/.envrc
+++ b/users/wpcarro/website/sandbox/contentful/.envrc
@@ -1,4 +1,5 @@
 source_up
 use_nix
-export CONTENTFUL_SPACE_ID="$(jq -j '.contentful | .spaceId' < ~/briefcase/secrets.json)"
-export CONTENTFUL_ACCESS_TOKEN="$(jq -j '.contentful | .accessToken' < ~/briefcase/secrets.json)"
+# TODO(wpcarro): Prefer age-nix solution if possible.
+export CONTENTFUL_SPACE_ID="$(jq -j '.contentful | .spaceId' < $WPCARRO/secrets.json)"
+export CONTENTFUL_ACCESS_TOKEN="$(jq -j '.contentful | .accessToken' < $WPCARRO/secrets.json)"