divan-data/.gitea/workflows/sync.yml
Anas Rashid 1724798824
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Rename Diwan -> Divan (Roman script): divan.db, export_divan.py, divan_ids, repo links
Ids unchanged (export identical). Urdu دیوان unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 19:46:59 +02:00

17 lines
571 B
YAML

name: Wikisource sync
on:
schedule:
- cron: "0 3 * * *" # daily 03:00 UTC
push: # also run when the sync code changes (bot data commits don't touch these, so no loop)
paths: [wikisource.py, build_index.py, export_divan.py, update.sh, .gitea/workflows/sync.yml]
workflow_dispatch: # "Run workflow" button, Gitea 1.23+
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
git config user.name "divan-bot"
git config user.email "divan-bot@noreply.git.anasrashid.net"
./update.sh