You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to create an internal integration (which grants the selected capabilities to the
41
41
recipient, similar to how RBAC works). Give it a name and add the scope for
42
-
`Releases:Admin` and `Organization:Read`. Press Save, find the auth token at the
43
-
bottom of the page under "Tokens", and copy that to secure location (this
44
-
becomes `SENTRY_AUTH_TOKEN`). Then visit the organization settings page and copy
45
-
that organization slug (`SENTRY_ORG`), and the slug name for your project too
42
+
`Releases:Admin` and `Organization:Read`. Press Save, and then generate the auth token at the
43
+
bottom of the page under "Tokens", and copy that to a secure location (this
44
+
becomes `SENTRY_AUTH_TOKEN`). Then visit the organization general settings page and copy
45
+
the organization slug (`SENTRY_ORG`), and the slug name for your project under `Organization > Projects > Project > Name`
46
46
(`SENTRY_PROJECT`).
47
47
48
48
In the 'build' section of the [Dockerfile](../other/Dockerfile), there is an
49
-
example of how to pass (mount) the `SENTRY_AUTH_TOKEN` as a docker secret, so it
50
-
is available to Vite when `npm run build` is run. You can do the same for
51
-
`SENTRY_ORG` and `SENTRY_PROJECT` or actually any other secret (environment
49
+
example of how to pass `SENTRY_AUTH_TOKEN` secret, so it
50
+
is available to Vite when `npm run build` is run. You may also uncomment and hard code your `SENTRY_ORG` and `SENTRY_PROJECT` values. Setup up your secrets in [GitHub Actions secrets](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions). You can do the same for any other secret (environment
52
51
variable) you need at build time, just make sure those secrets (variables) are
53
52
available on the CI runner: see the 'deploy' job from
54
53
[`deploy`](../.github/workflows/deploy.yml) workflow. Note that these do not
@@ -57,7 +56,6 @@ schema, as they are only used during the build and not the runtime.
57
56
58
57
The Sentry Vite plugin in [`vite.config.ts`](../vite.config.ts) will create
59
58
sentry releases for you and automatically associate commits during the vite
60
-
build once the `SENTRY_AUTH_TOKEN` is set, which in our set-up is done via
0 commit comments