Skip to content

Commit 408cc53

Browse files
authored
Update generator.yml
1 parent 971195c commit 408cc53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
- name: Set up authentication using PAT for CLSFramework.github.io
110110
run: |
111111
cd cls-repo
112-
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/CLSFramework/CLSFramework.github.io.git
112+
git remote set-url origin https://x-access-token:${{ secrets.WEBSITE_TOKEN }}@github.com/CLSFramework/CLSFramework.github.io.git
113113
- name: Commit and Push Changes to CLSFramework.github.io
114114
run: |
115115
cd cls-repo
@@ -123,7 +123,7 @@ jobs:
123123
git push origin update-proto-doc-${{ steps.random.outputs.random_number }}
124124
- name: Create Pull Request in CLSFramework.github.io using GitHub API
125125
run: |
126-
PR_RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
126+
PR_RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.WEBSITE_TOKEN }}" \
127127
-H "Accept: application/vnd.github.v3+json" \
128128
https://api.github.com/repos/CLSFramework/CLSFramework.github.io/pulls \
129129
-d '{"title":"Update proto documentation","head":"update-proto-doc-${{ steps.random.outputs.random_number }}","base":"main","body":"This PR updates the proto documentation based on changes made in grpc file."}')

0 commit comments

Comments
 (0)