Skip to content

Commit

Permalink
Check there are changes before commiting when building docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 28, 2023
1 parent d7f0be1 commit 7080898
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@ jobs:
[ -n "${new_commit_msg:-}" ] && new_commit_msg="${new_commit_msg} "
git add install.sh && new_commit_msg="Rebuilt install.sh" && commit_msg="${new_commit_msg:-}"
fi
git commit -am "${commit_msg}" && git push
[ -n "${commit_msg:-}" ] && git commit -am "${commit_msg}" && git push
fi

0 comments on commit 7080898

Please sign in to comment.