Skip to content

Commit cdd5505

Browse files
authored
deps: downgrade hugo to v0.97.1, pin hugo-PaperMod to v7.0 (#195)
1 parent 093ac96 commit cdd5505

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Hugo
1616
uses: peaceiris/actions-hugo@v2
1717
with:
18-
hugo-version: '0.113.0'
18+
hugo-version: '0.97.1'
1919
- name: Build
2020
run: |
2121
make theme

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
dist
2+
!themes/.keep
3+
themes

Diff for: Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
THEME_OWNER := adityatelange
22
THEME_NAME := hugo-PaperMod
3-
THEME_MAIN_BRANCH := master
3+
THEME_VERSION := 7.0
44

55
theme: themes/$(THEME_NAME)
66

77
themes/$(THEME_NAME): themes/$(THEME_NAME).zip
88
unzip themes/$(THEME_NAME).zip -d themes
9-
mv themes/$(THEME_NAME)-$(THEME_MAIN_BRANCH) themes/$(THEME_NAME)
9+
mv themes/$(THEME_NAME)-$(THEME_VERSION) themes/$(THEME_NAME)
1010

1111
themes/$(THEME_NAME).zip:
12-
curl -L https://github.com/$(THEME_OWNER)/$(THEME_NAME)/archive/refs/heads/master.zip > themes/$(THEME_NAME).zip
12+
curl -L https://github.com/$(THEME_OWNER)/$(THEME_NAME)/archive/refs/tags/v$(THEME_VERSION).zip > themes/$(THEME_NAME).zip
1313

1414
dev:
1515
HUGO_THEME=$(THEME_NAME) hugo server

0 commit comments

Comments
 (0)