Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix: try to fetch gh pages branch
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Jun 3, 2024
1 parent d5e53f6 commit 85cc473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def is_initial() -> bool:
Returns:
bool: True if the repository state is initial, False otherwise.
"""
subprocess.run(["git", "fetch"])
subprocess.run(["git", "fetch", "origin", "gh-pages"])

rc = subprocess.run(
["git", "show-ref", "--quiet", "refs/heads/gh-pages"],
Expand Down

0 comments on commit 85cc473

Please sign in to comment.