Skip to content

Commit 3cd1c7e

Browse files
authored
Update References to Supported Version of Hugo to the Newest Compatible Version (#13047)
* Updated Docs to change CLI tool reference * update-docs-link-in-settings.py * Updated references to compatible version of hugo --------- Co-authored-by: Jino Tesauro <jino@defectdojo.com>
1 parent da8f731 commit 3cd1c7e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Hugo
1616
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
1717
with:
18-
hugo-version: '0.125.3'
18+
hugo-version: '0.140.1'
1919
extended: true
2020

2121
- name: Setup Node

.github/workflows/validate_docs_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Hugo
1313
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
1414
with:
15-
hugo-version: '0.125.3'
15+
hugo-version: '0.140.1'
1616
extended: true
1717

1818
- name: Setup Node
@@ -38,4 +38,4 @@ jobs:
3838
env:
3939
HUGO_ENVIRONMENT: production
4040
HUGO_ENV: production
41-
run: cd docs && npm ci && hugo --minify --gc --config config/production/hugo.toml
41+
run: cd docs && npm ci && hugo --minify --gc --config config/production/hugo.toml
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Custom head -->
22
{{ if site.Params.add_ons.docSearch -}}
33
{{ $options := (dict "targetPath" "/css/main.min.css" "outputStyle" "compressed") }}
4-
{{ $style := resources.Get "scss/app.scss" | resources.ToCSS $options }}
4+
{{ $style := resources.Get "scss/app.scss" | css.Sass $options }}
55
<link rel="stylesheet" href="{{ $style.Permalink }}">
6-
{{ end -}}
6+
{{ end -}}

0 commit comments

Comments
 (0)