Skip to content

Commit 5ed7a28

Browse files
committed
Add logging, see why git info not populating in ci/cd
1 parent 8830c60 commit 5ed7a28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pages/blog/[slug].astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ const { Content: Body } = await render(post);
2626
const git = await getEntryGitInfo("posts", post.id);
2727
const publishedOn = git?.earliest ?? new Date();
2828
const updatedOn = git?.latest ?? new Date();
29+
30+
console.log({ git, id: post.id }, "WHYYYYY");
2931
---
3032

3133
<style>

0 commit comments

Comments
 (0)