There was an error while loading. Please reload this page.
1 parent f32981d commit 8f9cf4bCopy full SHA for 8f9cf4b
1 file changed
.github/workflows/docs.yml
@@ -94,8 +94,12 @@ jobs:
94
git config user.name 'LensKit Doc Bot'
95
git config user.email 'docbot@lenskit.org'
96
git add .
97
- git commit -m 'rebuild documentation'
98
- git push
+ if git status --porcelain |grep '^.'; then
+ git commit -m 'rebuild documentation'
99
+ git push
100
+ else
101
+ echo "no changes to documentation"
102
+ fi
103
104
- name: "🏷️ Tag release documentation"
105
if: github.event_name == 'release'
0 commit comments