We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58023e5 commit 16f5417Copy full SHA for 16f5417
.github/workflows/ui.yml
@@ -37,5 +37,7 @@ jobs:
37
working-directory: './ui'
38
- run: npm run build
39
40
+ env:
41
+ VITE_REVISION: '${{ github.sha }}.gh${{ github.run_number }}'
42
- run: bundle exec ruby deploy.rb signage-prd-pub
43
ui/src/KioskHeartbeat.tsx
@@ -84,7 +84,8 @@ function sendHeartbeat(
84
from: ctx.identityId,
85
nonce: ulid(now.toDate().getTime()),
86
ts: now.unix(),
87
- revision: "TODO--05161342",
+ revision:
88
+ import.meta.env.VITE_REVISION || "VITE_REVISION_missing--05161342",
89
booted_at: bootedAt.unix(),
90
path: `${location.pathname}${location.search}`,
91
};
0 commit comments