We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285440f commit 04ed2dbCopy full SHA for 04ed2db
.github/workflows/docs-build-push.yml
@@ -186,7 +186,10 @@ jobs:
186
187
- name: Get latest hugo theme
188
if: inputs.doc_type == 'hugo' && inputs.force_hugo_theme_version == ''
189
- run: echo "THEME_VERSION=$(curl -s https://api.github.com/repos/nginxinc/nginx-hugo-theme/releases/latest | jq -r ".tag_name")" >> "$GITHUB_ENV"
+ run: |
190
+ RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/nginxinc/nginx-hugo-theme/releases/latest)
191
+ echo $RESPONSE
192
+ echo "THEME_VERSION=$(echo $RESPONSE | jq -r ".tag_name")" >> "$GITHUB_ENV"
193
194
### Hugo builds
195
0 commit comments