From b0b2a2c9d8d6ee715f1422d6659618c5b213679f Mon Sep 17 00:00:00 2001 From: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Fri, 21 May 2021 03:08:10 +0800 Subject: [PATCH] Fix: docs build --- .github/workflows/gh-pages.yml | 6 +++--- docs/Makefile | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0dd170ac1..f2cc19c9a 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -3,13 +3,13 @@ on: branches: - master paths: - - "docs" + - "docs/**" - ".github/workflows/gh-pages.yml" pull_request: branches: - master paths: - - "docs" + - "docs/**" - ".github/workflows/gh-pages.yml" name: github-pages jobs: @@ -24,7 +24,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: "0.83.0" + hugo-version: "0.83.1" # extended: true - name: Build diff --git a/docs/Makefile b/docs/Makefile index ac19e3022..0b59c4fb4 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -5,7 +5,6 @@ default: hugo clean: rm -rf public/ - hugo-build: clean hugo-themes hugo --enableGitInfo --source .