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/.envrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/wpcarro/website/sandbox/contentful/.envrc b/users/wpcarro/website/sandbox/contentful/.envrc
new file mode 100644
index 000000000000..848d74e8b5e6
--- /dev/null
+++ b/users/wpcarro/website/sandbox/contentful/.envrc
@@ -0,0 +1,4 @@
+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)"