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"