diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 02e4ee6..684d48a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,7 +32,7 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" # Create or checkout the 'gh-pages' branch - git fetch origin gh-pages + git fetch origin gh-pages || echo "gh-pages branch does not exist" git checkout gh-pages || git checkout --orphan gh-pages # Remove all existing files from the branch