Skip to content

Commit 61bcc97

Browse files
committed
Add user identity to workflow
1 parent 8bc099b commit 61bcc97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Build and Deploy MkDocs
55
on:
66
push:
77
branches:
8-
- main # or your main development branch
8+
- main # or your main development branch
99

1010
jobs:
1111
deploy:
@@ -40,6 +40,8 @@ jobs:
4040
- name: Commit and push
4141
run: |
4242
cd target-repo
43+
git config user.name "Exploding Labs Bot"
44+
git config user.email "bot@explodinglabs.com"
4345
git add .
4446
git commit -m "Update site from docs source repo" || echo "No changes to commit"
4547
git push

0 commit comments

Comments
 (0)