-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use the same Sentry project for different envs (#167)
Sentry actually supports envs, which is useful when we start doing release notifications properly (which will give us source maps in Sentry) - use them!
- Loading branch information
Showing
5 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,13 +44,9 @@ jobs: | |
echo "NEXT_PUBLIC_STRIPE_TRIAL_PRICING_TABLE_ID=prctbl_1QIDHGF6A5ufQX5vOK9Xl8Up" >> .env | ||
echo "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LO87hF6A5ufQX5viNsPTbuErzfavdrEFoBuaJJPfoIhzQXdOUdefwL70YewaXA32ZrSRbK4U4fqebC7SVtyeNcz00qmgNgueC" >> .env | ||
echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/test_6oE29Gff99KO6mk8ww" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_DSN=https://[email protected]/4508462417772544" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_ORG=storacha-it" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_PROJECT=console-staging" >> .env | ||
# use example.com in preview because we can't predict the preview URL of the storacha.network site | ||
echo "NEXT_PUBLIC_REFERRAL_URL=http://staging.storacha.network/referred" >> .env | ||
echo "NEXT_PUBLIC_REFERRALS_SERVICE_URL=https://staging-referrals.storacha.network" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_ENV=staging" >> .env | ||
# 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 | ||
|
@@ -144,9 +140,7 @@ jobs: | |
echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/cN22aA62U6bO1sA9AA" >> .env | ||
echo "NEXT_PUBLIC_REFERRAL_URL=http://storacha.network/referred" >> .env | ||
echo "NEXT_PUBLIC_REFERRALS_SERVICE_URL=https://referrals.storacha.network" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_DSN=https://[email protected]/4508456692940801" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_ORG=storacha-it" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_PROJECT=console" >> .env | ||
echo "NEXT_PUBLIC_SENTRY_ENV=production" >> .env | ||
- run: pnpm pages:build | ||
# 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters