Skip to content

Commit

Permalink
more creds
Browse files Browse the repository at this point in the history
  • Loading branch information
hx-markterry committed Jan 19, 2024
1 parent a8bf052 commit aee9598
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ task :deploy do
Rake::Task["build"].invoke
Dir.chdir('_site')
sh "git status"
sh "git config --global user.name 'Github Actions'"
sh "git config --global user.name `git log -1 --pretty=format:'%an'`"
sh "git config --global user.email `git log -1 --pretty=format:'%ae'`"
sh "git commit -am 'Deploy'"
sh "git push"
end

0 comments on commit aee9598

Please sign in to comment.