Skip to content

Commit

Permalink
add some debug to ci to find out why env vars not working
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo committed Nov 6, 2023
1 parent f69bb50 commit 8b7440a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
id: cloudflare
Expand Down

0 comments on commit 8b7440a

Please sign in to comment.