fix: hide SHA when unavailable (show CI fallback), Home scrolls to top
Build & Push Portfolio Image / build-push (push) Successful in 3m29s

This commit is contained in:
Story Crater Bot
2026-09-02 10:32:11 -07:00
parent 7e8d6c3afa
commit 406f0db52d
3 changed files with 15 additions and 14 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
const { execSync } = require('child_process');
const commitSha = process.env.COMMIT_SHA
|| (() => { try { return execSync('git rev-parse --short HEAD').toString().trim(); } catch { return 'dev'; } })();
const commitSha = process.env.COMMIT_SHA || '';
/** @type {import('next').NextConfig} */
const nextConfig = {