Skip to content

Commit

Permalink
feat(app,git commit): adding env variable for git commit for export (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina authored Apr 13, 2023
1 parent f8f7262 commit 65d20dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "1.0.0",
"scripts": {
"start": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next dev -p 3000",
"export": "next build && next export",
"export": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next build && next export",
"build": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next build",
"prod-start": "NEXT_PUBLIC_GIT_COMMIT_HASH=$(git rev-parse --short HEAD) next start",
"clean": "rimraf node_modules && rimraf .next",
Expand Down

0 comments on commit 65d20dc

Please sign in to comment.