Update schema in case of update (aka push) #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update schema in case of update (aka push) | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 * * * | |
push: | |
concurrency: | |
cancel-in-progress: false | |
group: db_updater_bot | |
permissions: | |
contents: write | |
jobs: | |
publish: | |
name: Remake files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: | | |
rustup install stable | |
git pull | |
- name: Run | |
run: cargo run --no-default-features | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push to GitHub | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: AHQ Store Bot | |
message: Refresh Entries |