We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b6d58 commit 85f78b0Copy full SHA for 85f78b0
.github/workflows/recent-posts.yml
@@ -22,6 +22,9 @@ jobs:
22
run: |
23
git config user.email [email protected]
24
git config user.name github-actions
25
- git add README.md
26
- git commit -m "Synced and updated with most recent it176131.github.io blog post"
27
- git push
+ has_diff=$(git diff main --name-only -- README.md)
+ if [ $has_diff ]; then
+ git add README.md
28
+ git commit -m "Synced and updated with most recent it176131.github.io blog post"
29
+ git push
30
+ fi
0 commit comments