mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
workflows: doc: Continue on commit/push errors
This commit is contained in:
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@@ -34,6 +34,7 @@ jobs:
|
|||||||
meson compile
|
meson compile
|
||||||
- name: Commit files
|
- name: Commit files
|
||||||
if: ${{ success() && github.ref == 'refs/heads/master' }}
|
if: ${{ success() && github.ref == 'refs/heads/master' }}
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory $GITHUB_WORKSPACE
|
git config --global --add safe.directory $GITHUB_WORKSPACE
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
@@ -50,6 +51,7 @@ jobs:
|
|||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
if: ${{ success() && github.ref == 'refs/heads/master' }}
|
if: ${{ success() && github.ref == 'refs/heads/master' }}
|
||||||
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
Reference in New Issue
Block a user