workflows: doc: Do not error on nothing to commit

Not always there are changes to the documentation
This commit is contained in:
Rafał Dzięgiel
2024-05-09 23:50:19 +02:00
parent 938cd44d7e
commit 07ca728b5b

View File

@@ -47,7 +47,7 @@ jobs:
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add doc/clapper/* doc/clapper-gtk/*
git commit -m "doc: Update"
git commit -m "doc: Update" || true
- name: Push changes
uses: ad-m/github-push-action@master
if: ${{ success() && github.ref == 'refs/heads/master' }}