ci: use submodule as theme location

This commit is contained in:
ToruNiina
2024-06-16 20:03:45 +09:00
parent 38e4a34ea2
commit f48d3f81fe
2 changed files with 1 additions and 7 deletions

View File

@@ -21,8 +21,6 @@ jobs:
- name: Build Webpage
working-directory: ./docs/
run: |
hugo mod init github.com/alex-shpak/hugo-book
hugo mod get -u
hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3

View File

@@ -1,13 +1,9 @@
baseURL = "https://toruniina.github.io/toml11"
title = "toml11"
languageCode = "en-us"
theme = "hugo-book"
disablePathToLower = true
[module]
[[module.imports]]
path = 'github.com/alex-shpak/hugo-book'
[languages]
[languages.en]
weight = 1