File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -30,19 +30,16 @@ jobs:
30
30
# Build job
31
31
build :
32
32
runs-on : ubuntu-latest
33
- env :
34
- HUGO_VERSION : 0.120.4
35
33
steps :
36
- - name : Install Hugo CLI
37
- run : |
38
- wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
39
- && sudo dpkg -i ${{ runner.temp }}/hugo.deb
40
- - name : Install Dart Sass
41
- run : sudo snap install dart-sass
42
34
- name : Checkout
43
35
uses : actions/checkout@v4
44
36
with :
45
37
submodules : recursive
38
+ - name : Setup Hugo
39
+ uses : peaceiris/actions-hugo@v2
40
+ with :
41
+ hugo-version : ' latest'
42
+ extended : true
46
43
- name : Setup Pages
47
44
id : pages
48
45
uses : actions/configure-pages@v4
72
69
steps :
73
70
- name : Deploy to GitHub Pages
74
71
id : deployment
75
- uses : actions/deploy-pages@v4
72
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments