Skip to content

Commit

Permalink
Try setting auth token in nuxt config
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 18, 2024
1 parent 8a95b6a commit 672c2c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ ENV NODE_OPTIONS="--max_old_space_size=4096"
ENV SEMANTIC_VERSION=${SEMANTIC_VERSION}
ENV ADD_SENTRY_RELEASE=${ADD_SENTRY_RELEASE}


RUN --mount=type=secret,id=sentry_auth_token,mode=0444 \
sh -c 'if [ "$ADD_SENTRY_RELEASE" = "true" ]; then \
SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)" && \
Expand Down
1 change: 1 addition & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export default defineNuxtConfig({
sourceMapsUploadOptions: {
org: "openverse",
project: "openverse-frontend",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
unstable_sentryBundlerPluginOptions: {
release: {
Expand Down

0 comments on commit 672c2c1

Please sign in to comment.