Sentry
Sentryโ
Stack tracesโ
When deploying to Cloudflare Pages this comment on the last line of the .js file is stripped which breaks stack traces on Sentry.
//# sourceMappingURL=7947560.js.map
Github Actionsโ
Env variablesโ
Settings > Secrets > Actions
SENTRY_PROJECT="ABC"
Yaml Github action fileโ
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production