From e15e39155de54dc1624bab80eefbccd6a783cd0c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 15 Jul 2022 21:26:31 +0000
Subject: [PATCH] fix: give precedence to date created over last modified if defined (#101)

---
 .github/workflows/deploy.yaml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 3ec76da..8334ea2 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -10,18 +10,21 @@
     runs-on: ubuntu-18.04
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0    # Fetch all history for .GitInfo and .Lastmod
 
       - name: Build Link Index
-        uses: jackyzha0/hugo-obsidian@v2.8
+        uses: jackyzha0/hugo-obsidian@v2.13
         with:
           index: true
           input: content
-          output: data
+          output: assets/indices
+          root: .
 
       - name: Setup Hugo
         uses: peaceiris/actions-hugo@v2
         with:
-          hugo-version: '0.82.0'
+          hugo-version: '0.96.0'
           extended: true
 
       - name: Build
@@ -33,4 +36,4 @@
           github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_dir: ./public
           publish_branch: master  # deploying branch
-          cname: quartz.jzhao.xyz
\ No newline at end of file
+          cname: quartz.jzhao.xyz

--
Gitblit v1.10.0