Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Apr 7, 2024
1 parent b8fd8ba commit 0293c76
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ jobs:
git pull
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add dist && git commit -m "Build action"
git push
git add dist
if git diff --staged --quiet; then
echo "::notice::No changes to commit"
else
git commit -m "Build action"
git push
fi

0 comments on commit 0293c76

Please sign in to comment.