File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ export const getTinaEndpoint = (): string | null => {
99 const clientId = process . env . NEXT_PUBLIC_TINA_CLIENT_ID ;
1010 const branch =
1111 process . env . NEXT_PUBLIC_TINA_BRANCH || // custom branch env override
12+ process . env . CF_PAGES_BRANCH || // Cloudflare Pages branch env
1213 process . env . NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF || // Vercel branch env
1314 process . env . HEAD ; // Netlify branch env
1415
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export const config = defineConfig({
77 clientId : process . env . NEXT_PUBLIC_TINA_CLIENT_ID ,
88 branch :
99 process . env . NEXT_PUBLIC_TINA_BRANCH || // custom branch env override
10+ process . env . CF_PAGES_BRANCH || // Cloudflare Pages branch env
1011 process . env . NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF || // Vercel branch env
1112 process . env . HEAD , // Netlify branch env
1213 token : process . env . TINA_TOKEN ,
You can’t perform that action at this time.
0 commit comments