From 8b7440a750d27e6c083159cd6d7f589b1b673145 Mon Sep 17 00:00:00 2001 From: bengo <171782+gobengo@users.noreply.github.com> Date: Mon, 6 Nov 2023 15:36:28 -0800 Subject: [PATCH] add some debug to ci to find out why env vars not working --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 96502e7..8fad9b6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,6 +39,10 @@ jobs: # as long as this uses https://github.com/cloudflare/next-on-pages/blob/dc529d7efa8f8568ea8f71b5cdcf78df89be6c12/packages/next-on-pages/bin/index.js, # env vars won't get passed through to wrangler, so if wrangler will need them, write them to .env like the previous step - run: pnpm pages:build + - run: | + cat .env + grep -o ".\{0,50\}staging.web3.storage.\{0,50\}" -R .vercel + cat .vercel/output/functions/index.func/.env - name: Deploy preview build to Cloudflare Pages uses: mathiasvr/command-output@v1.1.0 id: cloudflare