Skip to content

Commit e1bc9f6

Browse files
committed
fix: configure referrals URLs
1 parent f82f7e9 commit e1bc9f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy-storacha.yml

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
echo "NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=prctbl_1NzhdvF6A5ufQX5vKNZuRhie" >> .env
4343
echo "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LO87hF6A5ufQX5viNsPTbuErzfavdrEFoBuaJJPfoIhzQXdOUdefwL70YewaXA32ZrSRbK4U4fqebC7SVtyeNcz00qmgNgueC" >> .env
4444
echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/test_6oE29Gff99KO6mk8ww" >> .env
45+
# use example.com in preview because we can't predict the preview URL of the storacha.network site
46+
echo "NEXT_PUBLIC_REFERRAL_URL=http://example.com/referred" >> .env
47+
echo "NEXT_PUBLIC_REFERRALS_SERVICE_URL=https://staging-referrals.storacha.network" >> .env
4548
# as long as this uses https://github.com/cloudflare/next-on-pages/blob/dc529d7efa8f8568ea8f71b5cdcf78df89be6c12/packages/next-on-pages/bin/index.js,
4649
# env vars won't get passed through to wrangler, so if wrangler will need them, write them to .env like the previous step
4750
- run: pnpm pages:build
@@ -131,6 +134,8 @@ jobs:
131134
echo "NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=prctbl_1OCJ1qF6A5ufQX5vM5DWg4rA" >> .env
132135
echo "NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_51LO87hF6A5ufQX5vQTO5BHyz8y9ybJp4kg1GsBjYuqwluuwtQTkbeZzkoQweFQDlv7JaGjuIdUWAyuwXp3tmCfsM005lJK9aS8" >> .env
133136
echo "NEXT_PUBLIC_STRIPE_CUSTOMER_PORTAL_LINK=https://billing.stripe.com/p/login/cN22aA62U6bO1sA9AA" >> .env
137+
echo "NEXT_PUBLIC_REFERRAL_URL=http://storacha.network/referred" >> .env
138+
echo "NEXT_PUBLIC_REFERRALS_SERVICE_URL=https://referrals.storacha.network" >> .env
134139
- run: pnpm pages:build
135140
# as long as this uses https://github.com/cloudflare/next-on-pages/blob/dc529d7efa8f8568ea8f71b5cdcf78df89be6c12/packages/next-on-pages/bin/index.js,
136141
# 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

Comments
 (0)