File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 39
39
GO_VERISON : " 1.21" # Go version used for `hugo mod get`
40
40
HUGO_VERSION : " 0.115.3" # Hugo version used for building docs
41
41
THEME_MODULE : " github.com/nginxinc/nginx-hugo-theme" # Name of source repo for module. For example; github.com/nginxinc/nginx-hugo-theme
42
- THEME_VERSION : " 0.41.10" # Version of theme module. For example; 0.41.6
43
42
44
43
PR_NUMBER : ${{github.event.pull_request.number}}
45
44
@@ -129,6 +128,10 @@ jobs:
129
128
- name : Checkout docs content
130
129
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.7.1
131
130
131
+ - name : Get latest hugo theme
132
+ if : inputs.doc_type == 'hugo'
133
+ run : echo "THEME_VERSION=$(curl -s https://api.github.com/repos/nginxinc/nginx-hugo-theme/releases/latest | jq ".tag_name")" >> "$GITHUB_ENV"
134
+
132
135
# ## Hugo builds
133
136
134
137
- name : Setup Go
You can’t perform that action at this time.
0 commit comments