From 54a8fd4a563bd3de815aaae2c9d9efd57e65be22 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 31 Jul 2022 19:24:53 +0000
Subject: [PATCH] deps: bump hugo-obsidian to properly copy linkmap

---
 .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..f4618ae 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.15
         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