Create douban.yml
This commit is contained in:
parent
5ee9fb966f
commit
6e637818ef
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: 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'
|
||||||
Loading…
Reference in New Issue
Block a user