Skip to content

Commit

Permalink
🦾 ci: dont commit if no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rettend committed Jan 24, 2024
1 parent c731b37 commit 446f0ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ jobs:
run: |
git config --local user.email "eemoji-bot@users.noreply.github.com"
git config --local user.name "eemoji-bot"
git commit -a -m "chore: update emojis"
git push
git diff --quiet && git diff --staged --quiet || (git commit -a -m "chore: update emojis" && git push)
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 446f0ba

Please sign in to comment.