Create douban.yml

This commit is contained in:
caiwx86 2023-11-06 02:56:56 +08:00 committed by GitHub
commit 2fad082b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

35
.github/workflows/douban.yml vendored Normal file
View File

@ -0,0 +1,35 @@
# .github/workflows/douban.yml
name: douban
on:
schedule:
- cron: "30 * * * *"
jobs:
douban:
name: Douban mark data sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: movie
uses: lizheming/doumark-action@master
with:
id: 262638070
type: movie
format: csv
dir: ./data/douban
- name: music
uses: lizheming/doumark-action@master
with:
id: 262638070
type: music
format: csv
dir: ./data/douban
- name: Commit
uses: EndBug/add-and-commit@v8
with:
message: 'chore: update douban data'
add: './data/douban'