CI: also run sync when sync code changes (Gitea 1.22 has no dispatch button)
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Some checks are pending
Wikisource sync / sync (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
45ed4621e0
commit
56cb2ac69e
@ -2,7 +2,9 @@ name: Wikisource sync
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 3 * * *" # daily 03:00 UTC
|
- cron: "0 3 * * *" # daily 03:00 UTC
|
||||||
workflow_dispatch:
|
push: # also run when the sync code changes (bot data commits don't touch these, so no loop)
|
||||||
|
paths: [wikisource.py, build_index.py, update.sh, .gitea/workflows/sync.yml]
|
||||||
|
workflow_dispatch: # "Run workflow" button, Gitea 1.23+
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user