Skip to content

Commit 33adcb7

Browse files
authored
Update main.yml
1 parent 80d6fac commit 33adcb7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,15 @@ jobs:
4343
# Create a new branch with random number appended
4444
git checkout -b update-readme-grpc-${{ steps.random.outputs.random_number }}
4545
46-
# Commit the changes
46+
- name: Set up authentication using GITHUB_TOKEN
47+
run: |
48+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/CLSFramework/CLSFramework.github.io.git
49+
50+
- name: Commit and Push Changes
51+
run: |
52+
cd CLSFramework.github.io
4753
git add docs/2-sampleserver/0-sample-python-base-code-gRPC/index.md
4854
git commit -m "Update sample server documentation from README"
49-
50-
# Push the new branch
5155
git push origin update-readme-grpc-${{ steps.random.outputs.random_number }}
5256
5357
- name: Create Pull Request

0 commit comments

Comments
 (0)