Skip to content

Commit

Permalink
Update generator.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
naderzare authored Oct 25, 2024
1 parent 971195c commit 408cc53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Set up authentication using PAT for CLSFramework.github.io
run: |
cd cls-repo
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/CLSFramework/CLSFramework.github.io.git
git remote set-url origin https://x-access-token:${{ secrets.WEBSITE_TOKEN }}@github.com/CLSFramework/CLSFramework.github.io.git
- name: Commit and Push Changes to CLSFramework.github.io
run: |
cd cls-repo
Expand All @@ -123,7 +123,7 @@ jobs:
git push origin update-proto-doc-${{ steps.random.outputs.random_number }}
- name: Create Pull Request in CLSFramework.github.io using GitHub API
run: |
PR_RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.GH_TOKEN }}" \
PR_RESPONSE=$(curl -X POST -H "Authorization: token ${{ secrets.WEBSITE_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/CLSFramework/CLSFramework.github.io/pulls \
-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."}')
Expand Down

0 comments on commit 408cc53

Please sign in to comment.