Skip to content

Commit 4c34fbb

Browse files
committed
Add new documenation files
- skip commit if nothing to commit
1 parent f41dc26 commit 4c34fbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/builddocs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,10 @@ jobs:
4747
cd doc
4848
git config user.name "Travis CI"
4949
git config user.email "[email protected]"
50+
git add dev/*
51+
if [ `git status -s | wc -l` = 0 ]; then
52+
echo "No changes in built documentation, skipping"
53+
exit 0
54+
fi
5055
git commit -a -m "$LAST_COMMIT"
5156
git push

0 commit comments

Comments
 (0)