This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-website.git


The following commit(s) were added to refs/heads/main by this push:
     new fbe2f1634 ci(deploy): fetch full history to show real lastUpdate info 
for each page
fbe2f1634 is described below

commit fbe2f1634ef0c8177065b35f27003dfd27d18851
Author: Shaobiao Lin <whalevo...@gmail.com>
AuthorDate: Sun Apr 27 22:16:57 2025 +0800

    ci(deploy): fetch full history to show real lastUpdate info for each page
    
    ref: 
https://github.com/facebook/docusaurus/issues/2798#issuecomment-636602951
---
 .github/workflows/deploy.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index f68a7a788..80073167c 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -12,6 +12,8 @@ jobs:
     if: "!contains(github.event.head_commit.message, 'skip ci')"
     steps:
       - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
 
       - name: Cache pnpm modules and build
         uses: actions/cache@v4

Reply via email to