Skip to content

Commit

Permalink
improve img handling in sync script
Browse files Browse the repository at this point in the history
  • Loading branch information
punxaphil committed Dec 26, 2024
1 parent 112f600 commit dea3e1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sync-with-mxmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ jobs:
rm -rf img
mkdir img
cp ../img/* img/
git add -N .
diff=$(git diff)
if [ ! -z "$diff" ]
then
git config user.name "Johan Frick"
git config user.email "[email protected]"
git add .
git add .
git commit -am"updated README.md"
git push origin main
fi
Expand Down

0 comments on commit dea3e1a

Please sign in to comment.