Explorar o código

fix: Use `VERCEL_GIT_COMMIT_SHA` env variable (#2816)

Luc Leray %!s(int64=4) %!d(string=hai) anos
pai
achega
fb4d97ef78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -81,7 +81,7 @@
   "scripts": {
     "build-node": "node ./scripts/build-node.js",
     "build:app:docker": "REACT_APP_DISABLE_SENTRY=true react-scripts build",
-    "build:app": "REACT_APP_GIT_SHA=$NOW_GITHUB_COMMIT_SHA react-scripts build",
+    "build:app": "REACT_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA react-scripts build",
     "build:version": "node ./scripts/build-version.js",
     "build": "npm run build:app && npm run build:version",
     "eject": "react-scripts eject",