Skip to content

Commit ec67084

Browse files
committed
Add Sanity API read token
1 parent 0eb980d commit ec67084

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
PUBLIC_SANITY_VISUAL_EDITING_ENABLED: 'true'
4646
PUBLIC_ROBOTS_NOINDEX: 'true'
4747
KG_AUTH: ${{ secrets.KG_AUTH }} # needed here for Astro's import.meta.env behavior
48+
SANITY_API_READ_TOKEN: ${{ secrets.PREVIEW_SANITY_API_READ_TOKEN }}
4849
run: |
4950
export NODE_OPTIONS="--max-old-space-size=2048"
5051
pnpm --filter astro... run build:preview

0 commit comments

Comments
 (0)