Create douban.yml
This commit is contained in:
commit
2fad082b34
35
.github/workflows/douban.yml
vendored
Normal file
35
.github/workflows/douban.yml
vendored
Normal 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'
|
||||
Loading…
Reference in New Issue
Block a user