Skip to content

Commit

Permalink
Package step with email (#138)
Browse files Browse the repository at this point in the history
Package step with email
  • Loading branch information
jirkafajfr authored Jun 4, 2024
1 parent ff26a0a commit d074bea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
npm run build
- name: Commit
run: |
git config --global user.name "GitHub Actions"
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:main

0 comments on commit d074bea

Please sign in to comment.