Skip to content

Commit

Permalink
Update update-emojimix-data.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf authored Jul 18, 2024
1 parent 0b3837d commit c70e748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-emojimix-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
- name: Compare files
id: compare
run: |
if cmp --silent output.json /assets/emojimix/emoji_data.json; then
if cmp --silent output.json ./assets/emojimix/emoji_data.json; then
echo "Files are identical. Skipping commit."
exit 1
fi
- name: Move file to assets directory
run: mv output.json /assets/emojimix/emoji_data.json
run: mv output.json ./assets/emojimix/emoji_data.json

- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add /assets/emojimix/emoji_data.json
git add ./assets/emojimix/emoji_data.json
git commit -m "Update emoji data [skip ci]"
- name: Push changes
Expand Down

0 comments on commit c70e748

Please sign in to comment.