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 d51a3ac commit 7ab7bf8Copy full SHA for 7ab7bf8
.github/workflows/release-build.yml
@@ -5,6 +5,10 @@ on:
5
types:
6
- published
7
8
+env:
9
+ OWNER: nginx
10
+ REPO: nginx-hugo-theme
11
+
12
jobs:
13
trigger-documentation-build:
14
runs-on: ubuntu-latest
@@ -16,5 +20,5 @@ jobs:
16
20
-H "Accept: application/vnd.github+json" \
17
21
-H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
18
22
-H "X-GitHub-Api-Version: 2022-11-28" \
19
- "https://api.github.com/repos/nginx/documentation/dispatches" \
23
+ "https://api.github.com/repos/${{ env.OWNER }}/${{ env.REPO }}/dispatches" \
24
-d "{"event_type": "trigger-preview-build", "client_payload": {"environment": "preview", "hugo_theme_override": ""}}"
0 commit comments