douban/.github/workflows/douban.yml
2023-11-06 03:25:41 +08:00

36 lines
697 B
YAML

# .github/workflows/douban.yml
name: douban
on:
schedule:
- cron: "26 * * * *"
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: 269131915
type: movie
format: csv
dir: ./data/douban
- name: music
uses: lizheming/doumark-action@master
with:
id: 269131915
type: music
format: csv
dir: ./data/douban
- name: Commit
uses: EndBug/add-and-commit@v8
with:
message: 'chore: update douban data'
add: './data/douban'