diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index b91f1f1a0..4a800cc8c 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -57,6 +57,9 @@ jobs:
VITE_ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
VITE_ALGOLIA_SEARCH_KEY: ${{secrets.ALGOLIA_SEARCH_KEY}}
VITE_ALGOLIA_INDEX_PREFIX: monentreprise-${{needs.deploy-context.outputs.env-name}}-
+ VITE_GITHUB_REF: ${{ github.ref }}
+ VITE_GITHUB_HEAD_REF: ${{ github.head_ref }}
+ VITE_GITHUB_SHA: ${{ github.sha }}
- name: Build app SSR
run: |
yarn workspace site build:ssr
diff --git a/site/package.json b/site/package.json
index 72a490d63..4d05c72a8 100644
--- a/site/package.json
+++ b/site/package.json
@@ -67,8 +67,8 @@
"@react-stately/radio": "^3.3.2",
"@react-stately/searchfield": "^3.1.3",
"@react-stately/toggle": "^3.2.3",
- "@sentry/react": "^6.3.5",
- "@sentry/tracing": "^6.3.5",
+ "@sentry/react": "^6.18.1",
+ "@sentry/tracing": "^6.18.1",
"algoliasearch": "^4.10.2",
"fuse.js": "^6.4.6",
"markdown-to-jsx": "^7.1.5",
diff --git a/site/source/pages/Gerer/Home.tsx b/site/source/pages/Gerer/Home.tsx
index 5f8bfbece..1f0d8ae88 100644
--- a/site/source/pages/Gerer/Home.tsx
+++ b/site/source/pages/Gerer/Home.tsx
@@ -199,13 +199,11 @@ export default function Gérer() {
Ressources utiles
- {dirigeantSimulateur === 'indépendant' &&
- i18n.language === 'fr' &&
- import.meta.env.VITE_GIT_HEAD !== 'master' && (
-
-
-
- )}
+ {dirigeantSimulateur === 'indépendant' && i18n.language === 'fr' && (
+
+
+
+ )}
{!company?.isAutoEntrepreneur && (
diff --git a/site/source/types/app-env.d.ts b/site/source/types/app-env.d.ts
index 202028a09..a24e919b5 100644
--- a/site/source/types/app-env.d.ts
+++ b/site/source/types/app-env.d.ts
@@ -7,7 +7,6 @@ interface ImportMetaEnv {
VITE_GITHUB_REF: string
VITE_GITHUB_HEAD_REF: string
VITE_GITHUB_SHA: string
- VITE_GIT_HEAD: string
VITE_AT_INTERNET_SITE_ID: string
diff --git a/yarn.lock b/yarn.lock
index a1e8674f3..14a0c6dda 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1528,79 +1528,79 @@
estree-walker "^2.0.1"
picomatch "^2.2.2"
-"@sentry/browser@6.17.2":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-6.17.2.tgz#8e794b846f43a341068c83420918d896683d903e"
- integrity sha512-4Ow5z9GxK5dG9+stBNKb7s6NoxE4wgEcHRmO66QTK4gH2NNmzV4R/aaZ7iDoS/lD86sH0M86jm76dpg9uiJPmw==
+"@sentry/browser@6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-6.18.1.tgz#7c61d53260a6cd8999a46a0bd3159773b93fd1ea"
+ integrity sha512-OZmk6RNcdQWxUkC8HBEruqpWUsaX/+pb1J/R5cDfHNeePLbDj9b8KFfs9QkgyZmmEP6l0Nu80TuDsdPF0q4uyw==
dependencies:
- "@sentry/core" "6.17.2"
- "@sentry/types" "6.17.2"
- "@sentry/utils" "6.17.2"
+ "@sentry/core" "6.18.1"
+ "@sentry/types" "6.18.1"
+ "@sentry/utils" "6.18.1"
tslib "^1.9.3"
-"@sentry/core@6.17.2":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/core/-/core-6.17.2.tgz#f218920f269ccdbaee20a092bbc90a71a007cc88"
- integrity sha512-Uew0CNMr+QvowrF4EJYjOUgHep/sZJ3l5zevPEELugIgqWBodd+ZDCV3fQFR7cr6KOqx1rMgVrgcKIkLl0l+RA==
+"@sentry/core@6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/core/-/core-6.18.1.tgz#6d09c4f59b30b62d5d288b5f3f3af56f1f7e6336"
+ integrity sha512-9V8Q+3Asi+3RL67CSIMMZ9mjMsu2/hrpQszYStX7hPPpAZIlAKk2MT5B+na/r80iWKhy+3Ts6aDFF218QtnsVw==
dependencies:
- "@sentry/hub" "6.17.2"
- "@sentry/minimal" "6.17.2"
- "@sentry/types" "6.17.2"
- "@sentry/utils" "6.17.2"
+ "@sentry/hub" "6.18.1"
+ "@sentry/minimal" "6.18.1"
+ "@sentry/types" "6.18.1"
+ "@sentry/utils" "6.18.1"
tslib "^1.9.3"
-"@sentry/hub@6.17.2":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-6.17.2.tgz#d92accada845fa21fff1b2b491d3c6964851693b"
- integrity sha512-CMi6jU920bTwRTmGHjP4u8toOx4gm1dsx+rsxvp+FKzqRwpwoyi9mOw8oEYERVzaqaYceGdFylyRUrjdf0f77g==
+"@sentry/hub@6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-6.18.1.tgz#fcfb8cb84515efefaf4e48472305ea5a71455abb"
+ integrity sha512-+zGzgc/xX3an/nKA3ELMn9YD9VmqbNaNwWZ5/SjNUvzsYHh2UNZ7YzT8WawQsRVOXLljyCKxkWpFB4EchiYGbw==
dependencies:
- "@sentry/types" "6.17.2"
- "@sentry/utils" "6.17.2"
+ "@sentry/types" "6.18.1"
+ "@sentry/utils" "6.18.1"
tslib "^1.9.3"
-"@sentry/minimal@6.17.2":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-6.17.2.tgz#3b482a0d76aa33b6c9441dd21acbcc3a113e5120"
- integrity sha512-Cdh+iM6QhLKfxwUWWP4mk2K7+EsQj4tuF2dGQke4Zcbp7zQ7wbcMruUcZHiZfvg5kiSYxwNVkH7cXMzcO7AJsg==
+"@sentry/minimal@6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-6.18.1.tgz#eac73d2262589930aa0bb33e0e12380ac5b766a9"
+ integrity sha512-dm+0MuasWNi/LASvHX+09oCo8IBZY5WpMK8qXvQMnwQ9FVfklrjcfEI3666WORDCmeUhDCSeL2MbjPDm+AmPLg==
dependencies:
- "@sentry/hub" "6.17.2"
- "@sentry/types" "6.17.2"
+ "@sentry/hub" "6.18.1"
+ "@sentry/types" "6.18.1"
tslib "^1.9.3"
-"@sentry/react@^6.3.5":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/react/-/react-6.17.2.tgz#ba2a65141ef3f3c2416313b448e06f6764a9f274"
- integrity sha512-/5mcHLxBhdh67EI6mGj20NwGCZbBjJdEOmTNTUydvNGXa9Rvrluf1iz2hNSH4sju0d/Qt1rakxC5y8gWy1E5Kw==
+"@sentry/react@^6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/react/-/react-6.18.1.tgz#fc84772d688064b38b48a101b72805fcf5911d9e"
+ integrity sha512-o7pK9BM69lUCkdYIBSQAGD96tZ0IFd9iKiCyOKZxsKChxR2MyyjP8uIcECzYMe6nNvmCI1EClBMcIW4nzReS5Q==
dependencies:
- "@sentry/browser" "6.17.2"
- "@sentry/minimal" "6.17.2"
- "@sentry/types" "6.17.2"
- "@sentry/utils" "6.17.2"
+ "@sentry/browser" "6.18.1"
+ "@sentry/minimal" "6.18.1"
+ "@sentry/types" "6.18.1"
+ "@sentry/utils" "6.18.1"
hoist-non-react-statics "^3.3.2"
tslib "^1.9.3"
-"@sentry/tracing@^6.3.5":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-6.17.2.tgz#437337071fdeffa319746905b3706518b099ec6b"
- integrity sha512-oWY2Ga+5D5f90utvfF2Y0eQvme+eS768ZWjR+klRYgZWoY8r1v8uWwWsvroYU1g+h6X0G/xh3giFjsdOWtRENw==
+"@sentry/tracing@^6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-6.18.1.tgz#7cc54b328dd051102900ade53e907e7441426f83"
+ integrity sha512-OxozmSfxGx246Ae1XhO01I7ZWxO3briwMBh55E5KyjQb8fuS9gVE7Uy8ZRs5hhNjDutFAU7nMtC0zipfVxP6fg==
dependencies:
- "@sentry/hub" "6.17.2"
- "@sentry/minimal" "6.17.2"
- "@sentry/types" "6.17.2"
- "@sentry/utils" "6.17.2"
+ "@sentry/hub" "6.18.1"
+ "@sentry/minimal" "6.18.1"
+ "@sentry/types" "6.18.1"
+ "@sentry/utils" "6.18.1"
tslib "^1.9.3"
-"@sentry/types@6.17.2":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/types/-/types-6.17.2.tgz#4dde3423db5953e798b19ed29618c28fc7bf2e30"
- integrity sha512-UrFLRDz5mn253O8k/XftLxoldF+NyZdkqKLGIQmST5HEVr7ub9nQJ4Y5ZFA3zJYWpraaW8faIbuw+pgetC8hmQ==
+"@sentry/types@6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/types/-/types-6.18.1.tgz#e2de38dd0da8096a5d22f8effc6756c919266ede"
+ integrity sha512-wp741NoBKnXE/4T9L723sWJ8EcNMxeTIT1smgNJOfbPwrsDICoYmGEt6JFa05XHpWBGI66WuNvnDjoHVeh6zhA==
-"@sentry/utils@6.17.2":
- version "6.17.2"
- resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-6.17.2.tgz#e8044e753b47f86068053c8d79e4ae61a39b6732"
- integrity sha512-ePWtO44KJQwUULOiU86fa1WU3Ird2TH0i39gqB2d3zNS3QyVp9qPlzSdPKSPJ9LdgadzBHw7ikEuE+GY8JTrhA==
+"@sentry/utils@6.18.1":
+ version "6.18.1"
+ resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-6.18.1.tgz#1aa819502b042540612f4db7bcb86c7b176f5a6b"
+ integrity sha512-IFZmuvA+c5lDGlZEri13JSyUP0BHelzY0S4dcKxAzskPW+BtBdQDgYGV90iED1y+IRMLawWb34GF7HyJSouN1Q==
dependencies:
- "@sentry/types" "6.17.2"
+ "@sentry/types" "6.18.1"
tslib "^1.9.3"
"@tsconfig/node10@^1.0.7":