更新 .gitea/workflows/sync_raw_file.yml
All checks were successful
SyncRawFile / sync_files (push) Successful in 4s

This commit is contained in:
2024-11-09 06:33:35 +00:00
parent 147fe50051
commit 96d01e90a7

View File

@@ -1,7 +1,8 @@
name: SyncRawFile
on:
paths:
- .gitea/workflows/sync_raw_file.yml # 仅在该文件被修改时触发
push:
paths:
- .gitea/workflows/sync_raw_file.yml # 仅在该文件被修改时触发
schedule:
- cron: "0 * * * *" # 每小时执行一次
@@ -22,5 +23,5 @@ jobs:
git config --global user.name "yuanzhen869"
git config --global user.email "yuanzhen869@gmail.com"
git add .
git commit -m "Sync file from GitHub raw"
git commit -m "Sync file from GitHub raw" || echo "No changes to commit"
git push origin main