From: Alekos Filini Date: Mon, 14 Dec 2020 14:16:38 +0000 (+0100) Subject: [ci] Ignore empty nightly docs commits instead of failing X-Git-Tag: v0.2.0~22 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.HexToArrayError.html?a=commitdiff_plain;h=7adaaf227c25ca6480d849bd19eb00c482cd8ce9;p=bdk [ci] Ignore empty nightly docs commits instead of failing --- diff --git a/.github/workflows/nightly_docs.yml b/.github/workflows/nightly_docs.yml index d3ad4ab2..de0f5e5d 100644 --- a/.github/workflows/nightly_docs.yml +++ b/.github/workflows/nightly_docs.yml @@ -59,5 +59,8 @@ jobs: path: ./static/docs-rs/bdk/nightly/latest - name: Configure git run: git config user.email "github-actions@github.com" && git config user.name "github-actions" - - name: Commit and push - run: git add ./static && git commit -m "Publish autogenerated nightly docs" && git push origin master + - name: Commit + continue-on-error: true # If there's nothing to commit this step fails, but it's fine + run: git add ./static && git commit -m "Publish autogenerated nightly docs" + - name: Push + run: git push origin master