From 601758c24e0c89e65d7b1468933266c9b9094548 Mon Sep 17 00:00:00 2001 From: Kovacs Alex Date: Sat, 1 Aug 2020 13:05:46 +0300 Subject: [PATCH] ci: don't fail when files weren't modified --- .github/workflows/Build.yml | 4 ++-- .github/workflows/Docs.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 90a0a453..5384bcf9 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -33,8 +33,8 @@ jobs: rsync ./package* ./build cd build git add . - git commit -m "build: ${{ github.sha }}" + git commit -m "build: ${{ github.sha }}" || true - name: Push files to GitHub run: | cd build - git push origin build \ No newline at end of file + git push origin build || true \ No newline at end of file diff --git a/.github/workflows/Docs.yml b/.github/workflows/Docs.yml index e1a1b29a..a3476b66 100644 --- a/.github/workflows/Docs.yml +++ b/.github/workflows/Docs.yml @@ -34,8 +34,8 @@ jobs: rsync -r ./docs/. ./gh-pages cd gh-pages git add . - git commit -m "docs: ${{ github.sha }}" + git commit -m "docs: ${{ github.sha }}" || true - name: Push files to GitHub run: | cd gh-pages - git push origin gh-pages \ No newline at end of file + git push origin gh-pages || true \ No newline at end of file