ruaaa
This commit is contained in:
parent
8ee43aef51
commit
a8d23feddd
2
.github/workflows/static.yml
vendored
2
.github/workflows/static.yml
vendored
@ -31,6 +31,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: 运行部署脚本
|
||||
run: python3 deploy.py
|
||||
|
||||
|
@ -43,7 +43,7 @@ def get_env_info() -> dict[str, str]:
|
||||
env_info["message"] = message.stdout.strip()
|
||||
# git tag
|
||||
if ON_CF:
|
||||
tag = os.getenv("CF_PAGES_COMMIT_TAG") or "cf"
|
||||
tag = os.getenv("CF_PAGES_COMMIT_TAG") or "cf_deploy"
|
||||
else:
|
||||
tag = run(
|
||||
["git", "describe", "--tags"], capture_output=True, text=True, encoding="utf-8"
|
||||
|
Loading…
Reference in New Issue
Block a user