Skip to content

Periodic

Periodic #34

Workflow file for this run

name: Periodic
on:
workflow_dispatch:
schedule:
- cron: 30 2 * * SUN
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Run
run: cargo run -- update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "Update db"
add: "./db/*"
fetch: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}