mirror of
https://github.com/elyby/docs.git
synced 2024-11-26 16:52:04 +05:30
Add git fetch step to periodic CI
This commit is contained in:
parent
6a037bbca8
commit
6ec0936a02
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user