try importing via hugo modules
This commit is contained in:
parent
7c26d9b8b7
commit
55b1193ecd
2 changed files with 2 additions and 36 deletions
34
.github/workflows/main.yml
vendored
34
.github/workflows/main.yml
vendored
|
@ -1,34 +0,0 @@
|
||||||
name: Build with Hugo
|
|
||||||
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
hugo-version:
|
|
||||||
- 'latest'
|
|
||||||
- '0.124.0'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
|
||||||
|
|
||||||
- name: Setup Hugo
|
|
||||||
uses: peaceiris/actions-hugo@v2
|
|
||||||
with:
|
|
||||||
hugo-version: ${{ matrix.hugo-version }}
|
|
||||||
extended: true
|
|
||||||
|
|
||||||
- name: Run Hugo
|
|
||||||
working-directory: exampleSite
|
|
||||||
run: hugo --themesDir ../..
|
|
||||||
|
|
||||||
# - name: Deploy
|
|
||||||
# uses: peaceiris/actions-gh-pages@v3
|
|
||||||
# with:
|
|
||||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# publish_dir: ./public
|
|
||||||
|
|
4
go.mod
4
go.mod
|
@ -1,3 +1,3 @@
|
||||||
module github.com/alex-shpak/hugo-book
|
module code.lila.network/adoralaura/hugo-book-theme
|
||||||
|
|
||||||
go 1.16
|
go 1.22.2
|
||||||
|
|
Loading…
Reference in a new issue