Skip to content

fix: use vars.NEXT_PUBLIC_SENTRY_DSN in CF Pages deploy workflows#21

Merged
Jevin-F merged 1 commit into
iotex-stgfrom
fix/sentry-dsn-docker-build
May 19, 2026
Merged

fix: use vars.NEXT_PUBLIC_SENTRY_DSN in CF Pages deploy workflows#21
Jevin-F merged 1 commit into
iotex-stgfrom
fix/sentry-dsn-docker-build

Conversation

@Jevin-F

@Jevin-F Jevin-F commented May 19, 2026

Copy link
Copy Markdown
Member

Summary

  • deploy-cf-pages-prod.yml: secrets.NEXT_PUBLIC_SENTRY_DSNvars.NEXT_PUBLIC_SENTRY_DSN
  • deploy-cf-pages-staging.yml: 补充缺失的 NEXT_PUBLIC_SENTRY_DSN,同样用 vars.*

Root Cause

DSN 存在 GitHub Variables 而非 Secrets,workflow 引用方式不对导致构建时 DSN 为空,Sentry 不初始化,线上看不到 Feedback 按钮。

Test plan

  • 合并后触发 staging 部署,确认 staging.safe.iotex.io 右下角出现 Sentry Feedback 按钮
  • 同步到 iotex 分支后验证 safe.iotex.io

@Jevin-F
Jevin-F merged commit 5cbfdbf into iotex-stg May 19, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant