Skip to content

Commit 85a09aa

Browse files
committed
set github-actions git credentials
1 parent 356143f commit 85a09aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/deploy-gh-pages.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ if git diff --staged --quiet; then
3232
echo "$0: No changes to commit."
3333
exit 0
3434
fi
35+
36+
if ! git config user.name; then
37+
git config user.name 'github-actions'
38+
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
39+
fi
40+
3541
git commit -a -m "CI: Update docs for ${GITHUB_REF#refs/tags/} ($head)"
3642

3743

0 commit comments

Comments
 (0)