Skip to content

Commit 5e3008b

Browse files
author
David Heinemeier Hansson
authored
Merge pull request #70 from jonathanhefner/auto-update-iff-assets-changed
Commit auto-updates only if assets have changed
2 parents 294bc5f + 3a5cbcd commit 5e3008b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-tailwind.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: |
2222
git config --local user.email "github-actions@example.com"
2323
git config --local user.name "GitHub Actions"
24-
git commit -am "Update tailwind.css" || echo "No changes to commit"
24+
git diff --quiet app/assets || git commit -am "Update tailwind.css"
2525
2626
- name: Push changes
2727
uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)