From 5234fae080f1d3dca4f105438e3e0151f12ca61c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 28 Feb 2022 16:24:29 +0000
Subject: [PATCH] fix backlinks not using baseurl
---
.github/workflows/deploy.yaml | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 9bc8d43..a492b9b 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -12,15 +12,17 @@
- uses: actions/checkout@v2
- name: Build Link Index
- uses: jackyzha0/hugo-obsidian@v1.4
+ uses: jackyzha0/hugo-obsidian@v2.9
with:
+ index: true
input: content
- output: data
+ output: static
+ root: .
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
- hugo-version: '0.79.1'
+ hugo-version: '0.82.0'
extended: true
- name: Build
@@ -32,4 +34,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