From dd11d56dd986c82914ce529fb43c8e2beb78a094 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 23 Sep 2022 17:17:34 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo

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

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 9bc8d43..e03da7b 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -10,17 +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@v1.4
+        uses: jackyzha0/hugo-obsidian@v2.18
         with:
+          index: true
           input: content
-          output: data
+          output: assets/indices
+          root: .
 
       - name: Setup Hugo
         uses: peaceiris/actions-hugo@v2
         with:
-          hugo-version: '0.79.1'
+          hugo-version: '0.96.0'
           extended: true
 
       - name: Build
@@ -32,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