Fix: docs build (#336)

This commit is contained in:
Loyalsoldier
2021-05-21 03:09:39 +08:00
committed by GitHub
parent 881182a143
commit c9fe6aaa52
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -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
-1
View File
@@ -5,7 +5,6 @@ default: hugo
clean:
rm -rf public/
hugo-build: clean hugo-themes
hugo --enableGitInfo --source .