mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Use PAT for trigger request
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
96f41b4d7f
commit
25185bcdb8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-docs.yml
vendored
2
.github/workflows/update-docs.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
|||
curl -L \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.UPDATE_DOCS }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/${repo_owner}/${repo_name}/dispatches \
|
||||
-d "{\"event_type\": \"$event_type\", \"client_payload\": {\"version\": \"${version}\", \"doc_filenames\": ${formatted_doc_filenames}, \"encoded_file_contents\": ${formatted_encoded_file_contents} }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue