Skip to content

Database Refresh

Database Refresh #20

Workflow file for this run

name: Database Refresh
permissions: write-all
on:
push:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
jobs:
index:
name: Parse Database Entries
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Cache Target
uses: actions/cache@v4
with:
key: db-${{ hashFiles('./Cargo.lock') }}
path: ./target
- name: Run code
run: cargo run --no-default-features --features parse
env:
RUSTFLAGS: -Awarnings
- name: Push to GitHub
uses: EndBug/add-and-commit@v9
with:
author_name: AHQ Store Bot
message: Refresh Entries