Skip to content

Commit 5af8aa4

Browse files
authored
Update main.yml
1 parent 53c7e91 commit 5af8aa4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
# Create a new branch with a random number appended
4444
git checkout -b update-readme-grpc-${{ steps.random.outputs.random_number }}
4545
46+
- name: Add front matter to index.md before committing
47+
run: |
48+
cd cls-repo
49+
# Add the custom_edit_url to the index.md file
50+
sed -i '1s/^/---\ncustom_edit_url: '\''https:\/\/github.com\/CLSFramework\/sample-playmaker-server-python-grpc\/blob\/main\/README.md'\''\n---\n\n/' docs/2-sampleserver/0-sample-python-base-code-gRPC/index.md
51+
4652
- name: Set up authentication using PAT for CLSFramework.github.io
4753
run: |
4854
cd cls-repo

0 commit comments

Comments
 (0)