From 6ec0936a022c2b54d85c6d393343e418fc1a2441 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 25 Mar 2021 02:14:59 +0100 Subject: [PATCH] Add git fetch step to periodic CI --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b6a377..81f587d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,7 @@ jobs: name: Detect diffs if: github.event_name == 'schedule' run: | + git fetch origin gh_pages_exists=$(git ls-remote --heads origin gh-pages) if [[ -z ${gh_pages_exists} ]]; then echo "::warning::gh_pages branch doesn't exists"