Skip to content

Commit

Permalink
fix: manually add sentry auth token to env
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Dec 18, 2024
1 parent e0f5c0a commit 9c67c2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-storacha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
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
echo "SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN" >> .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
Expand Down Expand Up @@ -141,6 +142,7 @@ jobs:
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_ENV=production" >> .env
echo "SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN" >> .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
Expand Down

0 comments on commit 9c67c2b

Please sign in to comment.