From 9b72edcd9cce10d6064e4e8b2f61b7db2966515d Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 25 Oct 2022 20:14:13 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo
---
.github/workflows/deploy.yaml | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index fc3a5c2..a56a30e 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -7,21 +7,24 @@
jobs:
deploy:
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.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.6
+ 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.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