File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ concurrency:
2020jobs :
2121 build :
2222 runs-on : ubuntu-latest
23- env :
24- # renovate: datasource=github-releases depName=gohugoio/hugo
25- HUGO_VERSION : v0.150.0
2623 steps :
2724 - name : Checkout
2825 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -33,18 +30,17 @@ jobs:
3330 uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
3431 id : pages
3532
36- - name : Install Hugo
37- run : |-
38- wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION#v}_linux-amd64.deb
39- sudo dpkg -i hugo.deb
40-
4133 - name : Build with Hugo
34+ uses : docker://ghcr.io/gohugoio/hugo:v0.150.0
4235 env :
4336 HUGO_CACHEDIR : ${{ runner.temp }}/hugo_cache
4437 HUGO_ENVIRONMENT : production
4538 HUGO_BASE_URL : ${{ steps.pages.outputs.base_url }}
46- run : |-
47- hugo --gc --minify --baseURL "${HUGO_BASE_URL}/"
39+ with :
40+ args : >-
41+ --gc
42+ --minify
43+ --baseURL "${HUGO_BASE_URL}/"
4844
4945 - name : Upload artifact
5046 uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
You can’t perform that action at this time.
0 commit comments