From 2fad082b348017ea50ea6d2bcbf7eb9e574e82d2 Mon Sep 17 00:00:00 2001 From: caiwx86 Date: Mon, 6 Nov 2023 02:56:56 +0800 Subject: [PATCH] Create douban.yml --- .github/workflows/douban.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/douban.yml diff --git a/.github/workflows/douban.yml b/.github/workflows/douban.yml new file mode 100644 index 0000000..8f5528c --- /dev/null +++ b/.github/workflows/douban.yml @@ -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'