Using source maps from artifacts

Here’s a summary of what I want:

  • Generate source maps from CRA during build in a GitHub Action workflow :white_check_mark:
  • Upload them to Sentry using the [Sentry Github Action](https://github.com/getsentry/action-release) :white_check_mark:
  • Delete source maps before deploying my files because I don’t want them to be shipped to production :white_check_mark:
  • When a error pops up, “decode” my minified code with the source maps from the artifacts of the release :x:

When there’s a new error Sentry shouldn’t take the source map that I uploaded in the release? Why does it keep trying to fetch from my server? Why do I upload my source maps to Sentry if Sentry will try to fetch them from my server?

I don’t know what I’m getting wrong here and would appreciate some help.