File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 15
15
- name : Setup Hugo
16
16
uses : peaceiris/actions-hugo@v2
17
17
with :
18
- hugo-version : ' 0.113.0 '
18
+ hugo-version : ' 0.97.1 '
19
19
- name : Build
20
20
run : |
21
21
make theme
Original file line number Diff line number Diff line change 1
1
dist
2
+ ! themes /.keep
3
+ themes
Original file line number Diff line number Diff line change 1
1
THEME_OWNER := adityatelange
2
2
THEME_NAME := hugo-PaperMod
3
- THEME_MAIN_BRANCH := master
3
+ THEME_VERSION := 7.0
4
4
5
5
theme : themes/$(THEME_NAME )
6
6
7
7
themes/$(THEME_NAME ) : themes/$(THEME_NAME ) .zip
8
8
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 )
10
10
11
11
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
13
13
14
14
dev :
15
15
HUGO_THEME=$(THEME_NAME ) hugo server
You can’t perform that action at this time.
0 commit comments