Skip to content

.github/workflows/douban.yml #2712

.github/workflows/douban.yml

.github/workflows/douban.yml #2712

Workflow file for this run

# .github/workflows/douban.yml
name: douban
on:
schedule:
- cron: "0 0,0,12,23 * * *"
watch:
types: [started]
jobs:
douban:
name: Douban mark data sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: movie
uses: lizheming/doumark-action@master
with:
id: immmmm
type: movie
format: csv
dir: ./data/douban
- name: movie2neodb
uses: lizheming/doumark-action@master
with:
id: immmmm
type: movie
format: neodb
neodb_token: ${{ secrets.neodb }}
- name: book
uses: lizheming/doumark-action@master
with:
id: immmmm
type: book
format: csv
dir: ./data/douban
- name: book2neodb
uses: lizheming/doumark-action@master
with:
id: immmmm
type: book
format: neodb
neodb_token: ${{ secrets.neodb }}
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: 'chore: update douban data'
add: './data/douban'