|
44 | 44 | echo "NEXT_PUBLIC_STRIPE_TRIAL_PRICING_TABLE_ID=prctbl_1QIDHGF6A5ufQX5vOK9Xl8Up" >> .env
|
45 | 45 | echo "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LO87hF6A5ufQX5viNsPTbuErzfavdrEFoBuaJJPfoIhzQXdOUdefwL70YewaXA32ZrSRbK4U4fqebC7SVtyeNcz00qmgNgueC" >> .env
|
46 | 46 | echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/test_6oE29Gff99KO6mk8ww" >> .env
|
47 |
| - echo "NEXT_PUBLIC_SENTRY_DSN=https://[email protected]/4508462417772544" >> .env |
48 |
| - echo "NEXT_PUBLIC_SENTRY_ORG=storacha-it" >> .env |
49 |
| - echo "NEXT_PUBLIC_SENTRY_PROJECT=console-staging" >> .env |
50 |
| - |
51 |
| - # use example.com in preview because we can't predict the preview URL of the storacha.network site |
52 | 47 | echo "NEXT_PUBLIC_REFERRAL_URL=http://staging.storacha.network/referred" >> .env
|
53 | 48 | echo "NEXT_PUBLIC_REFERRALS_SERVICE_URL=https://staging-referrals.storacha.network" >> .env
|
| 49 | + echo "NEXT_PUBLIC_SENTRY_ENV=staging" >> .env |
54 | 50 | # as long as this uses https://github.com/cloudflare/next-on-pages/blob/dc529d7efa8f8568ea8f71b5cdcf78df89be6c12/packages/next-on-pages/bin/index.js,
|
55 | 51 | # env vars won't get passed through to wrangler, so if wrangler will need them, write them to .env like the previous step
|
56 | 52 | - run: pnpm pages:build
|
@@ -144,9 +140,7 @@ jobs:
|
144 | 140 | echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/cN22aA62U6bO1sA9AA" >> .env
|
145 | 141 | echo "NEXT_PUBLIC_REFERRAL_URL=http://storacha.network/referred" >> .env
|
146 | 142 | echo "NEXT_PUBLIC_REFERRALS_SERVICE_URL=https://referrals.storacha.network" >> .env
|
147 |
| - echo "NEXT_PUBLIC_SENTRY_DSN=https://[email protected]/4508456692940801" >> .env |
148 |
| - echo "NEXT_PUBLIC_SENTRY_ORG=storacha-it" >> .env |
149 |
| - echo "NEXT_PUBLIC_SENTRY_PROJECT=console" >> .env |
| 143 | + echo "NEXT_PUBLIC_SENTRY_ENV=production" >> .env |
150 | 144 | - run: pnpm pages:build
|
151 | 145 | # as long as this uses https://github.com/cloudflare/next-on-pages/blob/dc529d7efa8f8568ea8f71b5cdcf78df89be6c12/packages/next-on-pages/bin/index.js,
|
152 | 146 | # env vars won't get passed through to wrangler, so if wrangler will need them, write them to .env like the previous step
|
|
0 commit comments