From 7e01f595a5ea4851f4ed48ea243d3b1293da927a Mon Sep 17 00:00:00 2001 From: John Lian Date: Thu, 7 Jul 2022 11:21:10 -0700 Subject: [PATCH] Fix: "last modified" on every page shows the same date and commit (#2629) * Make checkout fetch all git history Signed-off-by: John Lian * Fetch all git history here too Signed-off-by: John Lian --- .github/workflows/website-root.yml | 1 + .github/workflows/website-v1-7.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/website-root.yml b/.github/workflows/website-root.yml index cec283ad3..faee5156a 100644 --- a/.github/workflows/website-root.yml +++ b/.github/workflows/website-root.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive + fetch-depth: 0 - name: Setup Docsy run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli - name: Build And Deploy diff --git a/.github/workflows/website-v1-7.yml b/.github/workflows/website-v1-7.yml index 912d34704..c2486db14 100644 --- a/.github/workflows/website-v1-7.yml +++ b/.github/workflows/website-v1-7.yml @@ -18,6 +18,7 @@ jobs: - uses: actions/checkout@v2 with: submodules: recursive + fetch-depth: 0 - name: Setup Docsy run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli - name: Build And Deploy