workflows: doc: Continue on commit/push errors

This commit is contained in:
Rafał Dzięgiel
2024-05-09 23:43:30 +02:00
parent 8f4723906f
commit 938cd44d7e

View File

@@ -34,6 +34,7 @@ jobs:
meson compile
- name: Commit files
if: ${{ success() && github.ref == 'refs/heads/master' }}
continue-on-error: true
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
git checkout gh-pages
@@ -50,6 +51,7 @@ jobs:
- name: Push changes
uses: ad-m/github-push-action@master
if: ${{ success() && github.ref == 'refs/heads/master' }}
continue-on-error: true
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages