Skip to content

Commit

Permalink
yea?
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjackyuanjie committed Apr 20, 2024
1 parent cf0a30d commit 5195bac
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@

if ON_CF:
print("Running on Cloudflare Pages, trying to git fetch --all")
# add remote
run(
["git", "remote", "add", "origin", "https://github.com/shenjackyuanjie/fast-namerena.git"],
)
result = run(["git", "fetch", "--all"], check=False)
print(f"git fetch --all: {result}")
# 提前尝试输出一遍下面这堆信息
run(["git", "branch", "--show-current"], check=False)
run(["git", "rev-parse", "HEAD"], check=False)
run(["git", "describe", "--tags"], check=False)
run(["git", "log", "-1", "--pretty=%B"], check=False)


def get_env_info() -> dict[str, str]:
Expand Down

0 comments on commit 5195bac

Please sign in to comment.