Skip to content

Daily update

Daily update #2013

Workflow file for this run

name: Daily update
on:
workflow_dispatch:
schedule:
# UTC+8 0000
# - cron: "0 16 * * *"
# UTC+8 0600
- cron: "0 22 * * *"
# UTC+8 1200
# - cron: "0 04 * * *"
# UTC+8 1800
- cron: "0 10 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
token: ${{secrets.PAT}}
- name: Scraping
run: |
cd tools && go run . && mv animad.json ../src/data/ && mv bilibili.json ../src/data/ && mv update.json ../src/data/ && cd ..
git config --global user.name 'Js0n'
git config --global user.email '[email protected]'
git commit -am "Automated update"
git push