Skip to content

Commit 75b5e06

Browse files
committed
ci(workflows): update nytimes.yml configuration
1 parent d3c23f7 commit 75b5e06

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/nytimes.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ jobs:
6767
curl -L \
6868
-X POST \
6969
-H "Accept: application/vnd.github+json" \
70-
-H "Authorization: Bearer ${{ env.GITHUB_TOKEN }}" \
70+
-H "Authorization: Bearer ${{ secrets.WORKFLOW_ACCESS_TOKEN }}" \
7171
-H "X-GitHub-Api-Version: 2022-11-28" \
7272
https://api.github.com/repos/lzwjava/lzwjava.github.io/actions/workflows/gh-pages.yml/dispatches \
7373
-d '{"ref": "main"}'
74-
env:
75-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)