Skip to content

Commit abab11a

Browse files
committed
Workflow: Updated PAT name
1 parent c5061e2 commit abab11a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- published
77

88
env:
9-
OWNER: nginxinc
10-
REPO: nginx-hugo-theme
9+
OWNER: nginx
10+
REPO: documentation
1111

1212
jobs:
1313
trigger-documentation-build:
@@ -18,7 +18,7 @@ jobs:
1818
curl -L \
1919
-X POST \
2020
-H "Accept: application/vnd.github+json" \
21-
-H "Authorization: Bearer ${{ secrets.F5_CLA_TOKEN }}" \
21+
-H "Authorization: Bearer ${{ secrets.DOCUMENTATION_SLACK_FLOW_PAT }}" \
2222
-H "X-GitHub-Api-Version: 2022-11-28" \
2323
"https://api.github.com/repos/${{ env.OWNER }}/${{ env.REPO }}/dispatches" \
24-
-d "{"event_type": "trigger-preview-build", "client_payload": {"environment": "preview", "hugo_theme_override": "", "author": "${{ github.event.release.author }}", "tag_name": "${{ github.event.release.tag_name }}", "release_name": "${{ github.event.release.name }}"}}"
24+
-d "{\"event_type\": \"trigger-preview-build\", \"client_payload\": {\"environment\": \"preview\", \"hugo_theme_override\": \"\", \"author\": \"${{ github.event.release.author.login }}\", \"tag_name\": \"${{ github.event.release.tag_name }}\", \"release_name\": \"${{ github.event.release.name }}\"}}"

0 commit comments

Comments
 (0)