fix: hide SHA when unavailable (show CI fallback), Home scrolls to top
Build & Push Portfolio Image / build-push (push) Successful in 3m29s
Build & Push Portfolio Image / build-push (push) Successful in 3m29s
This commit is contained in:
+1
-4
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user