Update push2gitee.yml
Some checks failed
Sync to Private Gitee / sync (push) Has been cancelled
Sync Branch / sync (push) Has been cancelled

new
This commit is contained in:
机械小鸽 2025-06-22 17:16:24 +08:00 committed by GitHub
parent 8ce8764492
commit 0ae848f6cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ name: Sync to Private Gitee
on: on:
schedule: schedule:
- cron: '0 1 * * *' # 每天凌晨 1 点 UTC北京时间 9 点) - cron: '0 1 * * *' # 每天 UTC 1 点(北京时间 9 点)
workflow_dispatch: # 支持手动触发 workflow_dispatch: # 支持手动触发
jobs: jobs:
@ -10,8 +10,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout GitHub repository - name: Checkout GitHub repository (full history)
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
fetch-depth: 0 # ⬅️ 关键修改,避免 shallow clone 错误
- name: Set Git config - name: Set Git config
run: | run: |