Skip to content

Commit e9a76a1

Browse files
author
Robert Mosolgo
authored
Add committer info
1 parent 84c3469 commit e9a76a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/website.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ jobs:
2727
env:
2828
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
2929
run: |
30-
bundle exec rake site:build_doc site:update_search_index site:clean_html site:build_html site:commit_changes
30+
bundle exec rake site:build_doc site:update_search_index site:clean_html site:build_html
31+
- name: Commit changes as last committer
32+
run: |
33+
git config user.name "%(git log --format="%aN" -n 1)"
34+
git config user.email "%(git log --format="%aE" -n 1)"
35+
bundle exec rake site:commit_changes
3136
- name: Deploy to GitHub pages via gh-pages branch
3237
uses: s0/git-publish-subdir-action@master
3338
env:

0 commit comments

Comments
 (0)