Skip to content

Commit

Permalink
fix: trick
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Sep 14, 2023
1 parent 67c6927 commit 61c1fa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ENV SENTRY_ORG=incubateur
ENV SENTRY_URL=https://sentry.fabrique.social.gouv.fr/
ENV SENTRY_PROJECT=mano

RUN yarn build && yarn sentry:sourcemaps
RUN yarn build

FROM ghcr.io/socialgouv/docker/nginx4spa:7.0.1

Expand Down
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
"scripts": {
"dev": "react-scripts start -FAST_REFRESH=true",
"build": "react-scripts build",
"build": "react-scripts build && yarn sentry:sourcemaps",
"test": "react-scripts test",
"eject": "react-scripts eject",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org incubateur --project mano ./build && sentry-cli --url https://sentry.fabrique.social.gouv.fr/ sourcemaps upload --org incubateur --project mano ./build --log-level=debug --release $npm_package_version"
Expand Down

0 comments on commit 61c1fa3

Please sign in to comment.