Add git fetch step to periodic CI

This commit is contained in:
ErickSkrauch 2021-03-25 02:14:59 +01:00
parent 6a037bbca8
commit 6ec0936a02
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E
1 changed files with 1 additions and 0 deletions

View File

@ -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"